#6F58CA#6F58CA
#6F58CA is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.170 H 288.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6F58CA |
|---|---|
| RGB | rgb(111, 88, 202) |
| HSL | hsl(252, 52%, 57%) |
| HSV | hsv(252, 56%, 79%) |
| CMYK | cmyk(45%, 56.4%, 0%, 20.8%) |
| CIE-LAB | lab(45.11, 37.42, -56.38) |
| CIE-LCH | lch(45.11, 67.67, 303.57°) |
| OKLab | oklab(54.24% 0.0545 -0.1607) |
| OKLCH | oklch(54.24% 0.17 288.7) |
| XYZ | xyz(20.7029, 14.6224, 57.5972) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.10
Slate Blue
#6A5ACD
ΔE00 1.31
Iris
#6258C4
ΔE00 2.58
Dark Periwinkle
#665FD1
ΔE00 3.19
Purpley
#8756E4
ΔE00 5.55
Warm Blue
#4B57DB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F58CA #B3CA58
analogous
#587ACA #6F58CA #A858CA
triadic
#6F58CA #CA6F58 #58CA6F
tetradic
#6F58CA #CA587A #B3CA58 #58CAA8
square
#6F58CA #CA587A #B3CA58 #58CAA8
split-complementary
#6F58CA #CAA858 #7ACA58
monochromatic
#3A287F #4F37AE #6F58CA #9786D9 #BFB5E7
Accessibility & contrast
On white
5.35
#6F58CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#6F58CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F58CA
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F58CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F58CA | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126DCE
Deuteranopia (green-blind)
#1568C8
Tritanopia (blue-blind)
#537188
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6f58ca; /* rgb */ color: rgb(111, 88, 202); /* oklch */ color: oklch(54.2% 0.170 288.7);
Tailwind
colors: {
custom: {
50: '#9e88db',
500: '#6f58ca',
950: '#000000',
},
}SCSS
$custom: #6f58ca; $custom-light: #9e88db; $custom-dark: #000000;
JSON
{
"hex": "#6f58ca",
"rgb": {
"r": 111,
"g": 88,
"b": 202
},
"hsl": {
"h": 252.105,
"s": 51.818,
"l": 56.863
},
"oklch": {
"l": 0.54235,
"c": 0.16972,
"h": 288.7
},
"luminance": 0.14623
}Semantic roles & 50–950 ramp
primary
#6F58CA
secondary
#CDD6A8
accent
#DB4DBE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0B15
muted
#7F7C83