#6A238F#6A238F
#6A238F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.171 H 311.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #6A238F |
|---|---|
| RGB | rgb(106, 35, 143) |
| HSL | hsl(279, 61%, 35%) |
| HSV | hsv(279, 76%, 56%) |
| CMYK | cmyk(25.9%, 75.5%, 0%, 43.9%) |
| CIE-LAB | lab(30.03, 48.89, -45.63) |
| CIE-LCH | lch(30.03, 66.88, 316.98°) |
| OKLab | oklab(41.87% 0.1127 -0.1292) |
| OKLCH | oklch(41.87% 0.171 311.1) |
| XYZ | xyz(11.5019, 6.2497, 26.5817) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.74
Purple (survey)
#7E1E9C
ΔE00 3.78
Purple
#800080
ΔE00 6.37
Darkish Purple
#751973
ΔE00 6.84
Darkmagenta
#8B008B
ΔE00 6.90
Indigo
#4B0082
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A238F #488F23
analogous
#34238F #6A238F #8F237E
triadic
#6A238F #8F6A23 #238F6A
tetradic
#6A238F #8F3423 #488F23 #237E8F
square
#6A238F #8F3423 #488F23 #237E8F
split-complementary
#6A238F #7E8F23 #238F34
monochromatic
#210B2D #46175E #6A238F #8E2FC0 #AA57D6
Accessibility & contrast
On white
9.33
#6A238F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#6A238F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A238F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A238F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A238F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#0F488D
Tritanopia (blue-blind)
#653C57
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #6a238f; /* rgb */ color: rgb(106, 35, 143); /* oklch */ color: oklch(41.9% 0.171 311.1);
Tailwind
colors: {
custom: {
50: '#9965b0',
500: '#6a238f',
950: '#000000',
},
}SCSS
$custom: #6a238f; $custom-light: #9965b0; $custom-dark: #000000;
JSON
{
"hex": "#6a238f",
"rgb": {
"r": 106,
"g": 35,
"b": 143
},
"hsl": {
"h": 279.444,
"s": 60.674,
"l": 34.902
},
"oklch": {
"l": 0.41866,
"c": 0.17139,
"h": 311.1
},
"luminance": 0.06249
}Semantic roles & 50–950 ramp
primary
#6A238F
secondary
#77BA54
accent
#E4447B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80