#6E1896#6E1896

#6E1896 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.190 H 311.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#6E1896
RGBrgb(110, 24, 150)
HSLhsl(281, 72%, 34%)
HSVhsv(281, 84%, 59%)
CMYKcmyk(26.7%, 84%, 0%, 41.2%)
CIE-LABlab(29.84, 55.06, -50.23)
CIE-LCHlch(29.84, 74.52, 317.63°)
OKLaboklab(42.03% 0.126 -0.1425)
OKLCHoklch(42.03% 0.19 311.5)
XYZxyz(12.2610, 6.1706, 29.3934)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1896 #409618
analogous
#2F1896 #6E1896 #96187F
triadic
#6E1896 #966E18 #18966E
tetradic
#6E1896 #962F18 #409618 #187F96
square
#6E1896 #962F18 #409618 #187F96
split-complementary
#6E1896 #7F9618 #18962F
monochromatic
#21072C #471061 #6E1896 #9520CB #B047E2

Accessibility & contrast

On white

9.40
#6E1896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6E1896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1896
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1896#FFFFFF#000000##FFFFFF
##6E18961.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#693959
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1896;
/* rgb */ color: rgb(110, 24, 150);
/* oklch */ color: oklch(42.0% 0.190 311.5);
Tailwind
colors: {
  custom: {
    50: '#9c62b6',
    500: '#6e1896',
    950: '#000000',
  },
}
SCSS
$custom: #6e1896;
$custom-light: #9c62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1896",
  "rgb": {
    "r": 110,
    "g": 24,
    "b": 150
  },
  "hsl": {
    "h": 280.952,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42025,
    "c": 0.1902,
    "h": 311.5
  },
  "luminance": 0.0617
}

Semantic roles & 50–950 ramp

primary
#6E1896
secondary
#6EC347
accent
#EF3973
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1896

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

Preview Lab → · Contrast checker → · Palette generator →

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