#6F4CAC#6F4CAC
#6F4CAC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.2% C 0.148 H 297.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6F4CAC |
|---|---|
| RGB | rgb(111, 76, 172) |
| HSL | hsl(262, 39%, 49%) |
| HSV | hsv(262, 56%, 67%) |
| CMYK | cmyk(35.5%, 55.8%, 0%, 32.5%) |
| CIE-LAB | lab(40.45, 36.06, -46.35) |
| CIE-LCH | lch(40.45, 58.73, 307.89°) |
| OKLab | oklab(50.18% 0.0687 -0.1313) |
| OKLCH | oklch(50.18% 0.148 297.6) |
| XYZ | xyz(16.5845, 11.5267, 40.3728) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.64
Bluey Purple
#6241C7
ΔE00 5.90
Iris
#6258C4
ΔE00 6.43
Ocean Blue
#4F42B5
ΔE00 6.80
Rebeccapurple
#663399
ΔE00 7.01
Slate Blue
#6A5ACD
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F4CAC #89AC4C
analogous
#4C59AC #6F4CAC #9F4CAC
triadic
#6F4CAC #AC6F4C #4CAC6F
tetradic
#6F4CAC #AC4C59 #89AC4C #4CAC9F
square
#6F4CAC #AC4C59 #89AC4C #4CAC9F
split-complementary
#6F4CAC #AC9F4C #59AC4C
monochromatic
#382657 #543982 #6F4CAC #9074C1 #B29ED4
Accessibility & contrast
On white
6.35
#6F4CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#6F4CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F4CAC
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F4CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F4CAC | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#2D5EAA
Tritanopia (blue-blind)
#616074
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6f4cac; /* rgb */ color: rgb(111, 76, 172); /* oklch */ color: oklch(50.2% 0.148 297.6);
Tailwind
colors: {
custom: {
50: '#9c7fc5',
500: '#6f4cac',
950: '#000000',
},
}SCSS
$custom: #6f4cac; $custom-light: #9c7fc5; $custom-dark: #000000;
JSON
{
"hex": "#6f4cac",
"rgb": {
"r": 111,
"g": 76,
"b": 172
},
"hsl": {
"h": 261.875,
"s": 38.71,
"l": 48.627
},
"oklch": {
"l": 0.50177,
"c": 0.14817,
"h": 297.6
},
"luminance": 0.11527
}Semantic roles & 50–950 ramp
primary
#6F4CAC
secondary
#B0C193
accent
#CF59A4
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82