#6F52BF#6F52BF
#6F52BF is a mid, vivid violet. Relative luminance 0.132; OKLCH L 52.5% C 0.164 H 292.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #6F52BF |
|---|---|
| RGB | rgb(111, 82, 191) |
| HSL | hsl(256, 46%, 54%) |
| HSV | hsv(256, 57%, 75%) |
| CMYK | cmyk(41.9%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(43.03, 37.80, -53.37) |
| CIE-LCH | lch(43.03, 65.40, 305.31°) |
| OKLab | oklab(52.46% 0.0615 -0.1519) |
| OKLCH | oklch(52.46% 0.164 292) |
| XYZ | xyz(18.9742, 13.1751, 50.8235) |
| Luminance | 0.1318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.50
Slate Blue
#6A5ACD
ΔE00 3.55
Light Indigo
#6D5ACF
ΔE00 3.55
Royal Purple
#7851A9
ΔE00 4.78
Bluey Purple
#6241C7
ΔE00 5.13
Dark Periwinkle
#665FD1
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6F52BF #A2BF52
analogous
#526BBF #6F52BF #A552BF
triadic
#6F52BF #BF6F52 #52BF6F
tetradic
#6F52BF #BF526B #A2BF52 #52BFA5
square
#6F52BF #BF526B #A2BF52 #52BFA5
split-complementary
#6F52BF #BFA552 #6BBF52
monochromatic
#3B296E #53399B #6F52BF #947FD0 #B9ABE0
Accessibility & contrast
On white
5.78
#6F52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#6F52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6F52BF
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6F52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6F52BF | 1.00 | 5.78 | 3.64 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1367C3
Deuteranopia (green-blind)
#1D63BD
Tritanopia (blue-blind)
#596A80
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6f52bf; /* rgb */ color: rgb(111, 82, 191); /* oklch */ color: oklch(52.5% 0.164 292.0);
Tailwind
colors: {
custom: {
50: '#9d83d3',
500: '#6f52bf',
950: '#000000',
},
}SCSS
$custom: #6f52bf; $custom-light: #9d83d3; $custom-dark: #000000;
JSON
{
"hex": "#6f52bf",
"rgb": {
"r": 111,
"g": 82,
"b": 191
},
"hsl": {
"h": 255.963,
"s": 45.992,
"l": 53.529
},
"oklch": {
"l": 0.52464,
"c": 0.16389,
"h": 292
},
"luminance": 0.13176
}Semantic roles & 50–950 ramp
primary
#6F52BF
secondary
#C1CE9F
accent
#D652B3
background
#FAF8FD
surface
#F3EFFA
border
#CDCAD3
text
#0F0B14
muted
#7F7C83