#6F56CB#6F56CB
#6F56CB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.174 H 289.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6F56CB |
|---|---|
| RGB | rgb(111, 86, 203) |
| HSL | hsl(253, 53%, 57%) |
| HSV | hsv(253, 58%, 80%) |
| CMYK | cmyk(45.3%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(44.73, 38.88, -57.58) |
| CIE-LCH | lch(44.73, 69.48, 304.03°) |
| OKLab | oklab(53.97% 0.0568 -0.1643) |
| OKLCH | oklch(53.97% 0.174 289.1) |
| XYZ | xyz(20.6598, 14.3461, 58.1689) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.46
Slate Blue
#6A5ACD
ΔE00 1.67
Iris
#6258C4
ΔE00 2.76
Dark Periwinkle
#665FD1
ΔE00 3.60
Purpley
#8756E4
ΔE00 5.45
Bluey Purple
#6241C7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F56CB #B2CB56
analogous
#5678CB #6F56CB #AA56CB
triadic
#6F56CB #CB6F56 #56CB6F
tetradic
#6F56CB #CB5678 #B2CB56 #56CBAA
square
#6F56CB #CB5678 #B2CB56 #56CBAA
split-complementary
#6F56CB #CBAA56 #78CB56
monochromatic
#3A277F #4F36AE #6F56CB #9785D9 #BFB4E8
Accessibility & contrast
On white
5.43
#6F56CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#6F56CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F56CB
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F56CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F56CB | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0867C8
Tritanopia (blue-blind)
#537088
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6f56cb; /* rgb */ color: rgb(111, 86, 203); /* oklch */ color: oklch(54.0% 0.174 289.1);
Tailwind
colors: {
custom: {
50: '#9e86dc',
500: '#6f56cb',
950: '#000000',
},
}SCSS
$custom: #6f56cb; $custom-light: #9e86dc; $custom-dark: #000000;
JSON
{
"hex": "#6f56cb",
"rgb": {
"r": 111,
"g": 86,
"b": 203
},
"hsl": {
"h": 252.821,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.5397,
"c": 0.17382,
"h": 289.1
},
"luminance": 0.14347
}Semantic roles & 50–950 ramp
primary
#6F56CB
secondary
#CCD6A6
accent
#DC4BBD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83