#6A239F#6A239F
#6A239F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.187 H 305.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6A239F |
|---|---|
| RGB | rgb(106, 35, 159) |
| HSL | hsl(274, 64%, 38%) |
| HSV | hsv(274, 78%, 62%) |
| CMYK | cmyk(33.3%, 78%, 0%, 37.6%) |
| CIE-LAB | lab(31.28, 52.52, -53.41) |
| CIE-LCH | lch(31.28, 74.91, 314.52°) |
| OKLab | oklab(43.13% 0.1094 -0.152) |
| OKLCH | oklch(43.13% 0.187 305.7) |
| XYZ | xyz(12.8015, 6.7695, 33.4264) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.23
Purple (survey)
#7E1E9C
ΔE00 4.02
Purple Blue
#5D21D0
ΔE00 7.37
Violet Blue
#510AC9
ΔE00 7.52
Indigo
#4B0082
ΔE00 7.98
Indigo Blue
#3A18B1
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A239F #589F23
analogous
#2C239F #6A239F #9F2396
triadic
#6A239F #9F6A23 #239F6A
tetradic
#6A239F #9F2C23 #589F23 #23969F
square
#6A239F #9F2C23 #589F23 #23969F
split-complementary
#6A239F #969F23 #239F2C
monochromatic
#270D3B #49186D #6A239F #8B2ED1 #A760DC
Accessibility & contrast
On white
8.92
#6A239F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#6A239F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6A239F
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A239F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A239F | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#604360
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #6a239f; /* rgb */ color: rgb(106, 35, 159); /* oklch */ color: oklch(43.1% 0.187 305.7);
Tailwind
colors: {
custom: {
50: '#9a66bc',
500: '#6a239f',
950: '#000000',
},
}SCSS
$custom: #6a239f; $custom-light: #9a66bc; $custom-dark: #000000;
JSON
{
"hex": "#6a239f",
"rgb": {
"r": 106,
"g": 35,
"b": 159
},
"hsl": {
"h": 274.355,
"s": 63.918,
"l": 38.039
},
"oklch": {
"l": 0.43131,
"c": 0.18728,
"h": 305.7
},
"luminance": 0.06769
}Semantic roles & 50–950 ramp
primary
#6A239F
secondary
#88C15D
accent
#E74188
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81