#6D52BB#6D52BB
#6D52BB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.0% C 0.159 H 291.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #6D52BB |
|---|---|
| RGB | rgb(109, 82, 187) |
| HSL | hsl(255, 44%, 53%) |
| HSV | hsv(255, 56%, 73%) |
| CMYK | cmyk(41.7%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(42.57, 36.21, -51.78) |
| CIE-LCH | lch(42.57, 63.19, 304.96°) |
| OKLab | oklab(52% 0.0589 -0.1473) |
| OKLCH | oklch(52% 0.159 291.8) |
| XYZ | xyz(18.2912, 12.8731, 48.5251) |
| Luminance | 0.1287 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.48
Slate Blue
#6A5ACD
ΔE00 3.86
Light Indigo
#6D5ACF
ΔE00 3.95
Royal Purple
#7851A9
ΔE00 4.50
Bluey Purple
#6241C7
ΔE00 5.22
Dark Periwinkle
#665FD1
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D52BB #A0BB52
analogous
#526BBB #6D52BB #A252BB
triadic
#6D52BB #BB6D52 #52BB6D
tetradic
#6D52BB #BB526B #A0BB52 #52BBA2
square
#6D52BB #BB526B #A0BB52 #52BBA2
split-complementary
#6D52BB #BBA252 #6BBB52
monochromatic
#3A2969 #523B95 #6D52BB #927ECC #B7AADE
Accessibility & contrast
On white
5.87
#6D52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6D52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D52BB
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D52BB | 1.00 | 5.87 | 3.57 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A66BF
Deuteranopia (green-blind)
#2162B9
Tritanopia (blue-blind)
#58697E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6d52bb; /* rgb */ color: rgb(109, 82, 187); /* oklch */ color: oklch(52.0% 0.159 291.8);
Tailwind
colors: {
custom: {
50: '#9c83d0',
500: '#6d52bb',
950: '#000000',
},
}SCSS
$custom: #6d52bb; $custom-light: #9c83d0; $custom-dark: #000000;
JSON
{
"hex": "#6d52bb",
"rgb": {
"r": 109,
"g": 82,
"b": 187
},
"hsl": {
"h": 255.429,
"s": 43.568,
"l": 52.745
},
"oklch": {
"l": 0.52,
"c": 0.15862,
"h": 291.8
},
"luminance": 0.12874
}Semantic roles & 50–950 ramp
primary
#6D52BB
secondary
#BFCB9E
accent
#D354B3
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82