#642FC0#642FC0
#642FC0 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.209 H 293.1°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #642FC0 |
|---|---|
| RGB | rgb(100, 47, 192) |
| HSL | hsl(262, 61%, 47%) |
| HSV | hsv(262, 76%, 75%) |
| CMYK | cmyk(47.9%, 75.5%, 0%, 24.7%) |
| CIE-LAB | lab(35.10, 54.58, -66.89) |
| CIE-LCH | lch(35.10, 86.33, 309.21°) |
| OKLab | oklab(46.51% 0.0819 -0.1919) |
| OKLCH | oklch(46.51% 0.209 293.1) |
| XYZ | xyz(15.7838, 8.5476, 50.6772) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.95
Blurple
#5539CC
ΔE00 3.55
Blue With A Hint Of Purple
#533CC6
ΔE00 3.96
Bluey Purple
#6241C7
ΔE00 4.11
Burple
#6832E3
ΔE00 4.80
Purpley Blue
#5F34E7
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#642FC0 #8BC02F
analogous
#2F43C0 #642FC0 #AD2FC0
triadic
#642FC0 #C0642F #2FC064
tetradic
#642FC0 #C02F43 #8BC02F #2FC0AD
square
#642FC0 #C02F43 #8BC02F #2FC0AD
split-complementary
#642FC0 #C0AD2F #43C02F
monochromatic
#31175E #4A238F #642FC0 #8556D6 #A988E2
Accessibility & contrast
On white
7.75
#642FC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#642FC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #642FC0
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##642FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##642FC0 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#0050BD
Tritanopia (blue-blind)
#475776
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #642fc0; /* rgb */ color: rgb(100, 47, 192); /* oklch */ color: oklch(46.5% 0.209 293.1);
Tailwind
colors: {
custom: {
50: '#996dd4',
500: '#642fc0',
950: '#000000',
},
}SCSS
$custom: #642fc0; $custom-light: #996dd4; $custom-dark: #000000;
JSON
{
"hex": "#642fc0",
"rgb": {
"r": 100,
"g": 47,
"b": 192
},
"hsl": {
"h": 261.931,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.46509,
"c": 0.20866,
"h": 293.1
},
"luminance": 0.08548
}Semantic roles & 50–950 ramp
primary
#642FC0
secondary
#B0CB7F
accent
#E444A9
background
#FAF6FD
surface
#F3ECFA
border
#CDC7D3
text
#0F0714
muted
#7F7A83