#6F4EBA#6F4EBA
#6F4EBA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.163 H 294.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #6F4EBA |
|---|---|
| RGB | rgb(111, 78, 186) |
| HSL | hsl(258, 44%, 52%) |
| HSV | hsv(258, 58%, 73%) |
| CMYK | cmyk(40.3%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(41.80, 38.73, -52.42) |
| CIE-LCH | lch(41.80, 65.18, 306.45°) |
| OKLab | oklab(51.46% 0.0664 -0.1491) |
| OKLCH | oklch(51.46% 0.163 294) |
| XYZ | xyz(18.1405, 12.3730, 47.8773) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 4.56
Iris
#6258C4
ΔE00 4.61
Slate Blue
#6A5ACD
ΔE00 4.91
Light Indigo
#6D5ACF
ΔE00 4.92
Ocean Blue
#4F42B5
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F4EBA #99BA4E
analogous
#4E63BA #6F4EBA #A54EBA
triadic
#6F4EBA #BA6F4E #4EBA6F
tetradic
#6F4EBA #BA4E63 #99BA4E #4EBAA5
square
#6F4EBA #BA4E63 #99BA4E #4EBAA5
split-complementary
#6F4EBA #BAA54E #63BA4E
monochromatic
#3B2866 #543992 #6F4EBA #937ACB #B7A6DC
Accessibility & contrast
On white
6.04
#6F4EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#6F4EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F4EBA
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F4EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F4EBA | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C64BE
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#5C657C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6f4eba; /* rgb */ color: rgb(111, 78, 186); /* oklch */ color: oklch(51.5% 0.163 294.0);
Tailwind
colors: {
custom: {
50: '#9d81cf',
500: '#6f4eba',
950: '#000000',
},
}SCSS
$custom: #6f4eba; $custom-light: #9d81cf; $custom-dark: #000000;
JSON
{
"hex": "#6f4eba",
"rgb": {
"r": 111,
"g": 78,
"b": 186
},
"hsl": {
"h": 258.333,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.51459,
"c": 0.16322,
"h": 294
},
"luminance": 0.12373
}Semantic roles & 50–950 ramp
primary
#6F4EBA
secondary
#BBCA9A
accent
#D454AD
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82