#6A238A#6A238A
#6A238A is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.166 H 313.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #6A238A |
|---|---|
| RGB | rgb(106, 35, 138) |
| HSL | hsl(281, 60%, 34%) |
| HSV | hsv(281, 75%, 54%) |
| CMYK | cmyk(23.2%, 74.6%, 0%, 45.9%) |
| CIE-LAB | lab(29.67, 47.79, -43.13) |
| CIE-LCH | lch(29.67, 64.37, 317.94°) |
| OKLab | oklab(41.49% 0.1134 -0.1218) |
| OKLCH | oklch(41.49% 0.166 313) |
| XYZ | xyz(11.1315, 6.1015, 24.6312) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.09
Rebeccapurple
#663399
ΔE00 4.30
Purple
#800080
ΔE00 5.83
Darkish Purple
#751973
ΔE00 6.02
Darkmagenta
#8B008B
ΔE00 6.58
Indigo
#4B0082
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A238A #438A23
analogous
#37238A #6A238A #8A2377
triadic
#6A238A #8A6A23 #238A6A
tetradic
#6A238A #8A3723 #438A23 #23778A
square
#6A238A #8A3723 #438A23 #23778A
split-complementary
#6A238A #778A23 #238A37
monochromatic
#1F0A28 #451759 #6A238A #8F2FBB #AC54D4
Accessibility & contrast
On white
9.46
#6A238A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#6A238A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A238A
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A238A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A238A | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#194788
Tritanopia (blue-blind)
#663A54
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #6a238a; /* rgb */ color: rgb(106, 35, 138); /* oklch */ color: oklch(41.5% 0.166 313.0);
Tailwind
colors: {
custom: {
50: '#9865ad',
500: '#6a238a',
950: '#000000',
},
}SCSS
$custom: #6a238a; $custom-light: #9865ad; $custom-dark: #000000;
JSON
{
"hex": "#6a238a",
"rgb": {
"r": 106,
"g": 35,
"b": 138
},
"hsl": {
"h": 281.359,
"s": 59.538,
"l": 33.922
},
"oklch": {
"l": 0.4149,
"c": 0.16645,
"h": 313
},
"luminance": 0.06101
}Semantic roles & 50–950 ramp
primary
#6A238A
secondary
#71B751
accent
#E34576
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F