#6A52BC#6A52BC
#6A52BC is a mid, vivid violet. Relative luminance 0.127; OKLCH L 51.8% C 0.160 H 290.1°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6A52BC |
|---|---|
| RGB | rgb(106, 82, 188) |
| HSL | hsl(254, 44%, 53%) |
| HSV | hsv(254, 56%, 74%) |
| CMYK | cmyk(43.6%, 56.4%, 0%, 26.3%) |
| CIE-LAB | lab(42.35, 35.80, -52.73) |
| CIE-LCH | lch(42.35, 63.74, 304.17°) |
| OKLab | oklab(51.79% 0.055 -0.1502) |
| OKLCH | oklch(51.79% 0.16 290.1) |
| XYZ | xyz(18.0357, 12.7290, 49.0739) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 2.96
Slate Blue
#6A5ACD
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 4.99
Royal Purple
#7851A9
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A52BC #A4BC52
analogous
#526FBC #6A52BC #9F52BC
triadic
#6A52BC #BC6A52 #52BC6A
tetradic
#6A52BC #BC526F #A4BC52 #52BC9F
square
#6A52BC #BC526F #A4BC52 #52BC9F
split-complementary
#6A52BC #BC9F52 #6FBC52
monochromatic
#38296A #4F3A97 #6A52BC #907ECD #B6AADE
Accessibility & contrast
On white
5.92
#6A52BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#6A52BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A52BC
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A52BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A52BC | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#1B62BA
Tritanopia (blue-blind)
#52697F
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6a52bc; /* rgb */ color: rgb(106, 82, 188); /* oklch */ color: oklch(51.8% 0.160 290.1);
Tailwind
colors: {
custom: {
50: '#9a83d1',
500: '#6a52bc',
950: '#000000',
},
}SCSS
$custom: #6a52bc; $custom-light: #9a83d1; $custom-dark: #000000;
JSON
{
"hex": "#6a52bc",
"rgb": {
"r": 106,
"g": 82,
"b": 188
},
"hsl": {
"h": 253.585,
"s": 44.167,
"l": 52.941
},
"oklch": {
"l": 0.5179,
"c": 0.15992,
"h": 290.1
},
"luminance": 0.1273
}Semantic roles & 50–950 ramp
primary
#6A52BC
secondary
#C1CC9E
accent
#D454B7
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82