#6E42CF#6E42CF

#6E42CF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.205 H 291.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6E42CF
RGBrgb(110, 66, 207)
HSLhsl(259, 59%, 54%)
HSVhsv(259, 68%, 81%)
CMYKcmyk(46.9%, 68.1%, 0%, 18.8%)
CIE-LABlab(40.76, 50.93, -66.33)
CIE-LCHlch(40.76, 83.63, 307.52°)
OKLaboklab(51.16% 0.0762 -0.19)
OKLCHoklch(51.16% 0.205 291.9)
XYZxyz(19.6380, 11.7157, 60.2460)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E42CF #A3CF42
analogous
#425CCF #6E42CF #B442CF
triadic
#6E42CF #CF6E42 #42CF6E
tetradic
#6E42CF #CF425C #A3CF42 #42CFB4
square
#6E42CF #CF425C #A3CF42 #42CFB4
split-complementary
#6E42CF #CFB442 #5CCF42
monochromatic
#3A1F78 #522BA9 #6E42CF #9373DB #B9A4E8

Accessibility & contrast

On white

6.28
#6E42CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#6E42CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E42CF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E42CF#FFFFFF#000000##FFFFFF
##6E42CF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#506583
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6e42cf;
/* rgb */ color: rgb(110, 66, 207);
/* oklch */ color: oklch(51.2% 0.205 291.9);
Tailwind
colors: {
  custom: {
    50: '#a079df',
    500: '#6e42cf',
    950: '#000000',
  },
}
SCSS
$custom: #6e42cf;
$custom-light: #a079df;
$custom-dark: #000000;
JSON
{
  "hex": "#6e42cf",
  "rgb": {
    "r": 110,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 258.723,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5116,
    "c": 0.20473,
    "h": 291.9
  },
  "luminance": 0.11716
}

Semantic roles & 50–950 ramp

primary
#6E42CF
secondary
#C2D598
accent
#E345B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6E42CF

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

Preview Lab → · Contrast checker → · Palette generator →

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