#6F46CC#6F46CC
#6F46CC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.196 H 292.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #6F46CC |
|---|---|
| RGB | rgb(111, 70, 204) |
| HSL | hsl(258, 57%, 54%) |
| HSV | hsv(258, 66%, 80%) |
| CMYK | cmyk(45.6%, 65.7%, 0%, 20%) |
| CIE-LAB | lab(41.40, 48.18, -63.54) |
| CIE-LCH | lch(41.40, 79.74, 307.17°) |
| OKLab | oklab(51.57% 0.0741 -0.1818) |
| OKLCH | oklch(51.57% 0.196 292.2) |
| XYZ | xyz(19.6418, 12.1188, 58.4193) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.59
Bluish Purple
#703BE7
ΔE00 3.86
Burple
#6832E3
ΔE00 4.74
Purpleish Blue
#6140EF
ΔE00 4.87
Blurple
#5539CC
ΔE00 5.05
Blue With A Hint Of Purple
#533CC6
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F46CC #A3CC46
analogous
#4660CC #6F46CC #B246CC
triadic
#6F46CC #CC6F46 #46CC6F
tetradic
#6F46CC #CC4660 #A3CC46 #46CCB2
square
#6F46CC #CC4660 #A3CC46 #46CCB2
split-complementary
#6F46CC #CCB246 #60CC46
monochromatic
#3B2177 #532EA7 #6F46CC #9476D9 #BAA6E6
Accessibility & contrast
On white
6.13
#6F46CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#6F46CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F46CC
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F46CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F46CC | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#536683
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6f46cc; /* rgb */ color: rgb(111, 70, 204); /* oklch */ color: oklch(51.6% 0.196 292.2);
Tailwind
colors: {
custom: {
50: '#a07cdc',
500: '#6f46cc',
950: '#000000',
},
}SCSS
$custom: #6f46cc; $custom-light: #a07cdc; $custom-dark: #000000;
JSON
{
"hex": "#6f46cc",
"rgb": {
"r": 111,
"g": 70,
"b": 204
},
"hsl": {
"h": 258.358,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.51573,
"c": 0.19632,
"h": 292.2
},
"luminance": 0.12119
}Semantic roles & 50–950 ramp
primary
#6F46CC
secondary
#C2D49A
accent
#E048B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83