#6342BC#6342BC
#6342BC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.6% C 0.182 H 290.4°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6342BC |
|---|---|
| RGB | rgb(99, 66, 188) |
| HSL | hsl(256, 48%, 50%) |
| HSV | hsv(256, 65%, 74%) |
| CMYK | cmyk(47.3%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(38.16, 43.58, -59.55) |
| CIE-LCH | lch(38.16, 73.79, 306.20°) |
| OKLab | oklab(48.57% 0.0635 -0.1705) |
| OKLCH | oklch(48.57% 0.182 290.4) |
| XYZ | xyz(16.1683, 10.1793, 48.6801) |
| Luminance | 0.1018 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.61
Blue With A Hint Of Purple
#533CC6
ΔE00 3.19
Ocean Blue
#4F42B5
ΔE00 3.50
Blurple
#5539CC
ΔE00 3.64
Burple
#6832E3
ΔE00 5.69
Purpley Blue
#5F34E7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6342BC #9BBC42
analogous
#425EBC #6342BC #A042BC
triadic
#6342BC #BC6342 #42BC63
tetradic
#6342BC #BC425E #9BBC42 #42BCA0
square
#6342BC #BC425E #9BBC42 #42BCA0
split-complementary
#6342BC #BCA042 #5EBC42
monochromatic
#332261 #4B328F #6342BC #886FCC #AD9CDC
Accessibility & contrast
On white
6.92
#6342BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#6342BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6342BC
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6342BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6342BC | 1.00 | 6.92 | 3.04 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#475F79
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #6342bc; /* rgb */ color: rgb(99, 66, 188); /* oklch */ color: oklch(48.6% 0.182 290.4);
Tailwind
colors: {
custom: {
50: '#9778d1',
500: '#6342bc',
950: '#000000',
},
}SCSS
$custom: #6342bc; $custom-light: #9778d1; $custom-dark: #000000;
JSON
{
"hex": "#6342bc",
"rgb": {
"r": 99,
"g": 66,
"b": 188
},
"hsl": {
"h": 256.23,
"s": 48.031,
"l": 49.804
},
"oklch": {
"l": 0.48566,
"c": 0.1819,
"h": 290.4
},
"luminance": 0.1018
}Semantic roles & 50–950 ramp
primary
#6342BC
secondary
#BAC991
accent
#D850B3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0914
muted
#7E7B82