#6F48CB#6F48CB
#6F48CB is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.193 H 292.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #6F48CB |
|---|---|
| RGB | rgb(111, 72, 203) |
| HSL | hsl(258, 56%, 54%) |
| HSV | hsv(258, 65%, 80%) |
| CMYK | cmyk(45.3%, 64.5%, 0%, 20.4%) |
| CIE-LAB | lab(41.73, 46.82, -62.44) |
| CIE-LCH | lch(41.73, 78.04, 306.86°) |
| OKLab | oklab(51.78% 0.0721 -0.1786) |
| OKLCH | oklch(51.78% 0.193 292) |
| XYZ | xyz(19.6494, 12.3254, 57.8321) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.84
Bluish Purple
#703BE7
ΔE00 4.21
Purpleish Blue
#6140EF
ΔE00 5.08
Light Indigo
#6D5ACF
ΔE00 5.10
Burple
#6832E3
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F48CB #A4CB48
analogous
#4863CB #6F48CB #B148CB
triadic
#6F48CB #CB6F48 #48CB6F
tetradic
#6F48CB #CB4863 #A4CB48 #48CBB1
square
#6F48CB #CB4863 #A4CB48 #48CBB1
split-complementary
#6F48CB #CBB148 #63CB48
monochromatic
#3B2277 #532FA6 #6F48CB #9578D9 #BAA7E6
Accessibility & contrast
On white
6.06
#6F48CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#6F48CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F48CB
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F48CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F48CB | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#546783
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6f48cb; /* rgb */ color: rgb(111, 72, 203); /* oklch */ color: oklch(51.8% 0.193 292.0);
Tailwind
colors: {
custom: {
50: '#9f7ddc',
500: '#6f48cb',
950: '#000000',
},
}SCSS
$custom: #6f48cb; $custom-light: #9f7ddc; $custom-dark: #000000;
JSON
{
"hex": "#6f48cb",
"rgb": {
"r": 111,
"g": 72,
"b": 203
},
"hsl": {
"h": 257.863,
"s": 55.745,
"l": 53.922
},
"oklch": {
"l": 0.51784,
"c": 0.19257,
"h": 292
},
"luminance": 0.12326
}Semantic roles & 50–950 ramp
primary
#6F48CB
secondary
#C3D39B
accent
#DF49B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83