#6A239B#6A239B
#6A239B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.183 H 307.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6A239B |
|---|---|
| RGB | rgb(106, 35, 155) |
| HSL | hsl(276, 63%, 37%) |
| HSV | hsv(276, 77%, 61%) |
| CMYK | cmyk(31.6%, 77.4%, 0%, 39.2%) |
| CIE-LAB | lab(30.96, 51.60, -51.50) |
| CIE-LCH | lch(30.96, 72.90, 315.06°) |
| OKLab | oklab(42.81% 0.1103 -0.1464) |
| OKLCH | oklch(42.81% 0.183 307) |
| XYZ | xyz(12.4600, 6.6329, 31.6279) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.15
Purple (survey)
#7E1E9C
ΔE00 3.80
Indigo
#4B0082
ΔE00 7.75
Purple
#800080
ΔE00 7.83
Darkmagenta
#8B008B
ΔE00 7.91
Purple Blue
#5D21D0
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A239B #549B23
analogous
#2E239B #6A239B #9B2390
triadic
#6A239B #9B6A23 #239B6A
tetradic
#6A239B #9B2E23 #549B23 #23909B
square
#6A239B #9B2E23 #549B23 #23909B
split-complementary
#6A239B #909B23 #239B2E
monochromatic
#260C37 #481869 #6A239B #8C2ECD #A85EDB
Accessibility & contrast
On white
9.03
#6A239B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#6A239B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A239B
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A239B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A239B | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#62415E
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #6a239b; /* rgb */ color: rgb(106, 35, 155); /* oklch */ color: oklch(42.8% 0.183 307.0);
Tailwind
colors: {
custom: {
50: '#9a66b9',
500: '#6a239b',
950: '#000000',
},
}SCSS
$custom: #6a239b; $custom-light: #9a66b9; $custom-dark: #000000;
JSON
{
"hex": "#6a239b",
"rgb": {
"r": 106,
"g": 35,
"b": 155
},
"hsl": {
"h": 275.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.42807,
"c": 0.1833,
"h": 307
},
"luminance": 0.06633
}Semantic roles & 50–950 ramp
primary
#6A239B
secondary
#84BF5A
accent
#E64285
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81