#6F52C4#6F52C4
#6F52C4 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.170 H 291.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #6F52C4 |
|---|---|
| RGB | rgb(111, 82, 196) |
| HSL | hsl(255, 49%, 55%) |
| HSV | hsv(255, 58%, 77%) |
| CMYK | cmyk(43.4%, 58.2%, 0%, 23.1%) |
| CIE-LAB | lab(43.36, 39.21, -55.74) |
| CIE-LCH | lch(43.36, 68.15, 305.12°) |
| OKLab | oklab(52.82% 0.0615 -0.1589) |
| OKLCH | oklch(52.82% 0.17 291.2) |
| XYZ | xyz(19.5339, 13.3990, 53.7709) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.02
Slate Blue
#6A5ACD
ΔE00 3.07
Iris
#6258C4
ΔE00 3.30
Bluey Purple
#6241C7
ΔE00 4.95
Dark Periwinkle
#665FD1
ΔE00 5.02
Royal Purple
#7851A9
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F52C4 #A7C452
analogous
#526EC4 #6F52C4 #A852C4
triadic
#6F52C4 #C46F52 #52C46F
tetradic
#6F52C4 #C4526E #A7C452 #52C4A8
square
#6F52C4 #C4526E #A7C452 #52C4A8
split-complementary
#6F52C4 #C4A852 #6EC452
monochromatic
#3B2874 #5237A2 #6F52C4 #9580D4 #BBADE3
Accessibility & contrast
On white
5.71
#6F52C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#6F52C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F52C4
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F52C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F52C4 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#1064C2
Tritanopia (blue-blind)
#576B83
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6f52c4; /* rgb */ color: rgb(111, 82, 196); /* oklch */ color: oklch(52.8% 0.170 291.2);
Tailwind
colors: {
custom: {
50: '#9e84d7',
500: '#6f52c4',
950: '#000000',
},
}SCSS
$custom: #6f52c4; $custom-light: #9e84d7; $custom-dark: #000000;
JSON
{
"hex": "#6f52c4",
"rgb": {
"r": 111,
"g": 82,
"b": 196
},
"hsl": {
"h": 255.263,
"s": 49.138,
"l": 54.51
},
"oklch": {
"l": 0.52815,
"c": 0.17035,
"h": 291.2
},
"luminance": 0.134
}Semantic roles & 50–950 ramp
primary
#6F52C4
secondary
#C5D1A1
accent
#D94FB6
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83