#6552AF#6552AF
#6552AF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.4% C 0.142 H 289.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #6552AF |
|---|---|
| RGB | rgb(101, 82, 175) |
| HSL | hsl(252, 37%, 50%) |
| HSV | hsv(252, 53%, 69%) |
| CMYK | cmyk(42.3%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(41.05, 30.86, -47.22) |
| CIE-LCH | lch(41.05, 56.41, 303.16°) |
| OKLab | oklab(50.44% 0.048 -0.1341) |
| OKLCH | oklch(50.44% 0.142 289.7) |
| XYZ | xyz(16.1198, 11.8959, 41.9959) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.99
Royal Purple
#7851A9
ΔE00 4.71
Slate Blue
#6A5ACD
ΔE00 5.24
Light Indigo
#6D5ACF
ΔE00 5.55
Ocean Blue
#4F42B5
ΔE00 5.93
Bluey Purple
#6241C7
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6552AF #9CAF52
analogous
#526DAF #6552AF #9352AF
triadic
#6552AF #AF6552 #52AF65
tetradic
#6552AF #AF526D #9CAF52 #52AF93
square
#6552AF #AF526D #9CAF52 #52AF93
split-complementary
#6552AF #AF9352 #6DAF52
monochromatic
#352B5C #4D3E86 #6552AF #8A7CC2 #B0A6D6
Accessibility & contrast
On white
6.21
#6552AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#6552AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6552AF
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6552AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6552AF | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2863B2
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#506678
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #6552af; /* rgb */ color: rgb(101, 82, 175); /* oklch */ color: oklch(50.4% 0.142 289.7);
Tailwind
colors: {
custom: {
50: '#9583c7',
500: '#6552af',
950: '#000000',
},
}SCSS
$custom: #6552af; $custom-light: #9583c7; $custom-dark: #000000;
JSON
{
"hex": "#6552af",
"rgb": {
"r": 101,
"g": 82,
"b": 175
},
"hsl": {
"h": 252.258,
"s": 36.759,
"l": 50.392
},
"oklch": {
"l": 0.50445,
"c": 0.14247,
"h": 289.7
},
"luminance": 0.11896
}Semantic roles & 50–950 ramp
primary
#6552AF
secondary
#BBC39A
accent
#CD5BB6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0A13
muted
#7E7C82