#6E42BE#6E42BE

#6E42BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.185 H 295.2°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6E42BE
RGBrgb(110, 66, 190)
HSLhsl(261, 49%, 50%)
HSVhsv(261, 65%, 75%)
CMYKcmyk(42.1%, 65.3%, 0%, 25.5%)
CIE-LABlab(39.46, 46.32, -58.56)
CIE-LCHlch(39.46, 74.66, 308.34°)
OKLaboklab(49.82% 0.0785 -0.1672)
OKLCHoklch(49.82% 0.185 295.2)
XYZxyz(17.6704, 10.9287, 49.8837)
Luminance0.1093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E42BE #92BE42
analogous
#4254BE #6E42BE #AC42BE
triadic
#6E42BE #BE6E42 #42BE6E
tetradic
#6E42BE #BE4254 #92BE42 #42BEAC
square
#6E42BE #BE4254 #92BE42 #42BEAC
split-complementary
#6E42BE #BEAC42 #54BE42
monochromatic
#392263 #543291 #6E42BE #9170CE #B49DDD

Accessibility & contrast

On white

6.59
#6E42BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6E42BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E42BE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E42BE#FFFFFF#000000##FFFFFF
##6E42BE1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#595F7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6e42be;
/* rgb */ color: rgb(110, 66, 190);
/* oklch */ color: oklch(49.8% 0.185 295.2);
Tailwind
colors: {
  custom: {
    50: '#9e79d2',
    500: '#6e42be',
    950: '#000000',
  },
}
SCSS
$custom: #6e42be;
$custom-light: #9e79d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e42be",
  "rgb": {
    "r": 110,
    "g": 66,
    "b": 190
  },
  "hsl": {
    "h": 261.29,
    "s": 48.819,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.18471,
    "h": 295.2
  },
  "luminance": 0.10929
}

Semantic roles & 50–950 ramp

primary
#6E42BE
secondary
#B6CA92
accent
#D84FA8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #6E42BE

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

Preview Lab → · Contrast checker → · Palette generator →

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