#6E42E0#6E42E0

#6E42E0 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.6% C 0.224 H 289.0°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#6E42E0
RGBrgb(110, 66, 224)
HSLhsl(257, 72%, 57%)
HSVhsv(257, 71%, 88%)
CMYKcmyk(50.9%, 70.5%, 0%, 12.2%)
CIE-LABlab(42.14, 55.59, -73.82)
CIE-LCHlch(42.14, 92.41, 306.98°)
OKLaboklab(52.57% 0.0732 -0.212)
OKLCHoklch(52.57% 0.224 289)
XYZxyz(21.8293, 12.5923, 71.7869)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E42E0 #B4E042
analogous
#4265E0 #6E42E0 #BD42E0
triadic
#6E42E0 #E06E42 #42E06E
tetradic
#6E42E0 #E04265 #B4E042 #42E0BD
square
#6E42E0 #E04265 #B4E042 #42E0BD
split-complementary
#6E42E0 #E0BD42 #65E042
monochromatic
#391890 #4E20C5 #6E42E0 #9677E9 #BFABF1

Accessibility & contrast

On white

5.97
#6E42E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6E42E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E42E0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E42E0#FFFFFF#000000##FFFFFF
##6E42E01.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E5
Deuteranopia (green-blind)
#005FDD
Tritanopia (blue-blind)
#446C8D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6e42e0;
/* rgb */ color: rgb(110, 66, 224);
/* oklch */ color: oklch(52.6% 0.224 289.0);
Tailwind
colors: {
  custom: {
    50: '#a27aeb',
    500: '#6e42e0',
    950: '#000000',
  },
}
SCSS
$custom: #6e42e0;
$custom-light: #a27aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e42e0",
  "rgb": {
    "r": 110,
    "g": 66,
    "b": 224
  },
  "hsl": {
    "h": 256.709,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.2243,
    "h": 289
  },
  "luminance": 0.12593
}

Semantic roles & 50–950 ramp

primary
#6E42E0
secondary
#CDDF9F
accent
#EF39BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6E42E0

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

Preview Lab → · Contrast checker → · Palette generator →

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