#6F46CB#6F46CB
#6F46CB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.195 H 292.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #6F46CB |
|---|---|
| RGB | rgb(111, 70, 203) |
| HSL | hsl(258, 56%, 54%) |
| HSV | hsv(258, 66%, 80%) |
| CMYK | cmyk(45.3%, 65.5%, 0%, 20.4%) |
| CIE-LAB | lab(41.33, 47.90, -63.09) |
| CIE-LCH | lch(41.33, 79.21, 307.21°) |
| OKLab | oklab(51.5% 0.0742 -0.1805) |
| OKLCH | oklch(51.5% 0.195 292.3) |
| XYZ | xyz(19.5222, 12.0710, 57.7897) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.56
Bluish Purple
#703BE7
ΔE00 3.98
Burple
#6832E3
ΔE00 4.82
Purpleish Blue
#6140EF
ΔE00 5.00
Blurple
#5539CC
ΔE00 5.05
Blue With A Hint Of Purple
#533CC6
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F46CB #A2CB46
analogous
#465FCB #6F46CB #B146CB
triadic
#6F46CB #CB6F46 #46CB6F
tetradic
#6F46CB #CB465F #A2CB46 #46CBB1
square
#6F46CB #CB465F #A2CB46 #46CBB1
split-complementary
#6F46CB #CBB146 #5FCB46
monochromatic
#3B2176 #532EA5 #6F46CB #9476D8 #B9A6E6
Accessibility & contrast
On white
6.15
#6F46CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#6F46CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F46CB
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F46CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F46CB | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#546682
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6f46cb; /* rgb */ color: rgb(111, 70, 203); /* oklch */ color: oklch(51.5% 0.195 292.3);
Tailwind
colors: {
custom: {
50: '#9f7cdc',
500: '#6f46cb',
950: '#000000',
},
}SCSS
$custom: #6f46cb; $custom-light: #9f7cdc; $custom-dark: #000000;
JSON
{
"hex": "#6f46cb",
"rgb": {
"r": 111,
"g": 70,
"b": 203
},
"hsl": {
"h": 258.496,
"s": 56.118,
"l": 53.529
},
"oklch": {
"l": 0.51495,
"c": 0.19512,
"h": 292.3
},
"luminance": 0.12072
}Semantic roles & 50–950 ramp
primary
#6F46CB
secondary
#C1D39A
accent
#DF48B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83