#6F45C2#6F45C2
#6F45C2 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.186 H 294.2°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6F45C2 |
|---|---|
| RGB | rgb(111, 69, 194) |
| HSL | hsl(260, 51%, 52%) |
| HSV | hsv(260, 64%, 76%) |
| CMYK | cmyk(42.8%, 64.4%, 0%, 23.9%) |
| CIE-LAB | lab(40.46, 45.98, -59.27) |
| CIE-LCH | lch(40.46, 75.01, 307.80°) |
| OKLab | oklab(50.66% 0.0762 -0.1693) |
| OKLCH | oklch(50.66% 0.186 294.2) |
| XYZ | xyz(18.4187, 11.5303, 52.2836) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.59
Blue With A Hint Of Purple
#533CC6
ΔE00 5.05
Bluish Purple
#703BE7
ΔE00 5.07
Blurple
#5539CC
ΔE00 5.16
Burple
#6832E3
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F45C2 #98C245
analogous
#455AC2 #6F45C2 #AE45C2
triadic
#6F45C2 #C26F45 #45C26F
tetradic
#6F45C2 #C2455A #98C245 #45C2AE
square
#6F45C2 #C2455A #98C245 #45C2AE
split-complementary
#6F45C2 #C2AE45 #5AC245
monochromatic
#3B236A #543298 #6F45C2 #9373D1 #B6A1E0
Accessibility & contrast
On white
6.35
#6F45C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#6F45C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F45C2
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F45C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F45C2 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#58627D
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6f45c2; /* rgb */ color: rgb(111, 69, 194); /* oklch */ color: oklch(50.7% 0.186 294.2);
Tailwind
colors: {
custom: {
50: '#9e7bd5',
500: '#6f45c2',
950: '#000000',
},
}SCSS
$custom: #6f45c2; $custom-light: #9e7bd5; $custom-dark: #000000;
JSON
{
"hex": "#6f45c2",
"rgb": {
"r": 111,
"g": 69,
"b": 194
},
"hsl": {
"h": 260.16,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.50657,
"c": 0.18563,
"h": 294.2
},
"luminance": 0.11531
}Semantic roles & 50–950 ramp
primary
#6F45C2
secondary
#BACD96
accent
#DA4EAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83