#6A4C9C

Slate Gray

#6A4C9CSlate Gray

Luminance

0.106

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#6A4C9C
No #
6A4C9C

RGB

RGB
rgb(106, 76, 156)
Values
R:106 G:76 B:156

HSL

HSL
hsl(263, 34%, 45%)
Values
H:263° S:34% L:45%

HSV / HSB

HSV
hsv(263, 51%, 61%)
Values
H:263° S:51% V:61%

CMYK

CMYK
cmyk(32%, 51%, 0%, 39%)
Values
C:32 M:51 Y:0 K:39

LAB

LAB
lab(39, 30, -39)
Values
L:39 a:30 b:-39

OKLCH

OKLCH
oklch(48.6% 0.126 298.9)
Values
L:48.6% C:0.126 H:298.9°

Code Formats

CSS
color: #6A4C9C;
Swift
UIColor(red: 0.416, green: 0.298, blue: 0.612, alpha: 1.0)
Kotlin
Color(0xFF6A4C9C)
Flutter
Color(0xFF6A4C9C)
Android
#FF6A4C9C

Contrast Analysis

WCAG compliance with grayscale colors

On White

6.72:1

AA

On Black

3.13:1

AA-large

Grayscale Contrast

Aa

0%

3.1

AA-large
Aa

10%

2.6

Fail
Aa

20%

1.9

Fail
Aa

30%

1.3

Fail
Aa

40%

1.2

Fail
Aa

50%

1.7

Fail
Aa

60%

2.4

Fail
Aa

70%

3.2

AA-large
Aa

80%

4.2

AA-large
Aa

90%

5.3

AA
Aa

100%

6.7

AA

Best Grayscale Contrast

#FFFFFF with ratio 6.72:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #9F87C4 0%, #3B2A55 100%)
OKLCH
linear-gradient(90deg, oklch(66.8% 0.092 302.0) 0%, oklch(32.6% 0.076 300.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #7F54C4 0%, #582AA2 100%)
OKLCH
linear-gradient(135deg, oklch(54.7% 0.169 298.4) 0%, oklch(42.0% 0.180 294.9) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #6A4C9C 0%, #7C9A4C 100%)
OKLCH
linear-gradient(90deg, oklch(48.6% 0.126 298.9) 0%, oklch(64.5% 0.111 126.6) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #4C559A 0%, #6A4C9C 50%, #914C9A 100%)
OKLCH
linear-gradient(90deg, oklch(47.6% 0.111 275.7) 0%, oklch(48.6% 0.126 298.9) 50%, oklch(53.0% 0.139 322.9) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #6A4C9A 0%, #1D1825 100%)
OKLCH
linear-gradient(180deg, oklch(48.5% 0.124 299.5) 0%, oklch(22.1% 0.026 301.9) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #9176BC 0%, #463267 100%)
OKLCH
radial-gradient(circle, oklch(61.9% 0.107 301.1) 0%, oklch(36.6% 0.090 299.3) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette