#6E42CD#6E42CD

#6E42CD is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.0% C 0.202 H 292.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#6E42CD
RGBrgb(110, 66, 205)
HSLhsl(259, 58%, 53%)
HSVhsv(259, 68%, 80%)
CMYKcmyk(46.3%, 67.8%, 0%, 19.6%)
CIE-LABlab(40.60, 50.39, -65.43)
CIE-LCHlch(40.60, 82.58, 307.60°)
OKLaboklab(51% 0.0765 -0.1874)
OKLCHoklch(51% 0.202 292.2)
XYZxyz(19.3950, 11.6186, 58.9665)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E42CD #A1CD42
analogous
#425BCD #6E42CD #B442CD
triadic
#6E42CD #CD6E42 #42CD6E
tetradic
#6E42CD #CD425B #A1CD42 #42CDB4
square
#6E42CD #CD425B #A1CD42 #42CDB4
split-complementary
#6E42CD #CDB442 #5BCD42
monochromatic
#3A1F76 #532CA6 #6E42CD #9372DA #B8A3E7

Accessibility & contrast

On white

6.32
#6E42CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#6E42CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E42CD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E42CD#FFFFFF#000000##FFFFFF
##6E42CD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005DCA
Tritanopia (blue-blind)
#516482
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e42cd;
/* rgb */ color: rgb(110, 66, 205);
/* oklch */ color: oklch(51.0% 0.202 292.2);
Tailwind
colors: {
  custom: {
    50: '#9f79dd',
    500: '#6e42cd',
    950: '#000000',
  },
}
SCSS
$custom: #6e42cd;
$custom-light: #9f79dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e42cd",
  "rgb": {
    "r": 110,
    "g": 66,
    "b": 205
  },
  "hsl": {
    "h": 258.993,
    "s": 58.159,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.2024,
    "h": 292.2
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#6E42CD
secondary
#C0D397
accent
#E146B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6E42CD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6E42CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva