#645182#645182
#645182 is a mid, moderate violet. Relative luminance 0.102; OKLCH L 47.5% C 0.080 H 301.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #645182 |
|---|---|
| RGB | rgb(100, 81, 130) |
| HSL | hsl(263, 23%, 41%) |
| HSV | hsv(263, 38%, 51%) |
| CMYK | cmyk(23.1%, 37.7%, 0%, 49%) |
| CIE-LAB | lab(38.21, 18.74, -24.67) |
| CIE-LCH | lch(38.21, 30.98, 307.22°) |
| OKLab | oklab(47.47% 0.0415 -0.0684) |
| OKLCH | oklch(47.47% 0.08 301.3) |
| XYZ | xyz(12.2264, 10.2059, 22.4406) |
| Luminance | 0.1021 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Twilight
#4E518B
ΔE00 7.18
Dusk
#4E5481
ΔE00 7.21
Muted Purple
#805B87
ΔE00 7.56
Dusty Purple
#825F87
ΔE00 8.61
Royal Purple
#7851A9
ΔE00 8.64
Dark Lavender
#856798
ΔE00 9.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#645182 #6F8251
analogous
#515782 #645182 #7D5182
triadic
#645182 #826451 #518264
tetradic
#645182 #825157 #6F8251 #51827D
square
#645182 #825157 #6F8251 #51827D
split-complementary
#645182 #827D51 #578251
monochromatic
#2A2237 #473A5C #645182 #826CA4 #A292BB
Accessibility & contrast
On white
6.91
#645182 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#645182 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #645182
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##645182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##645182 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#455A84
Deuteranopia (green-blind)
#495A81
Tritanopia (blue-blind)
#5F5963
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #645182; /* rgb */ color: rgb(100, 81, 130); /* oklch */ color: oklch(47.5% 0.080 301.3);
Tailwind
colors: {
custom: {
50: '#9182a6',
500: '#645182',
950: '#000000',
},
}SCSS
$custom: #645182; $custom-light: #9182a6; $custom-dark: #000000;
JSON
{
"hex": "#645182",
"rgb": {
"r": 100,
"g": 81,
"b": 130
},
"hsl": {
"h": 263.265,
"s": 23.223,
"l": 41.373
},
"oklch": {
"l": 0.47474,
"c": 0.08006,
"h": 301.3
},
"luminance": 0.10206
}Semantic roles & 50–950 ramp
primary
#645182
secondary
#9BA887
accent
#C0689E
background
#F8F7FA
surface
#F0EEF4
border
#CBC9CE
text
#0D0A0F
muted
#7D7C7F