#6E1E91#6E1E91

#6E1E91 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.180 H 312.8°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#6E1E91
RGBrgb(110, 30, 145)
HSLhsl(282, 66%, 34%)
HSVhsv(282, 79%, 57%)
CMYKcmyk(24.1%, 79.3%, 0%, 43.1%)
CIE-LABlab(30.13, 52.04, -46.68)
CIE-LCHlch(30.13, 69.91, 318.11°)
OKLaboklab(42.11% 0.1224 -0.1321)
OKLCHoklch(42.11% 0.18 312.8)
XYZxyz(12.0046, 6.2882, 27.3640)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E91 #41911E
analogous
#351E91 #6E1E91 #911E7B
triadic
#6E1E91 #916E1E #1E916E
tetradic
#6E1E91 #91351E #41911E #1E7B91
square
#6E1E91 #91351E #41911E #1E7B91
split-complementary
#6E1E91 #7B911E #1E9135
monochromatic
#21092C #48145E #6E1E91 #9428C4 #B04FDB

Accessibility & contrast

On white

9.30
#6E1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6E1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E91
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E91#FFFFFF#000000##FFFFFF
##6E1E911.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#0D498F
Tritanopia (blue-blind)
#6A3A57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1e91;
/* rgb */ color: rgb(110, 30, 145);
/* oklch */ color: oklch(42.1% 0.180 312.8);
Tailwind
colors: {
  custom: {
    50: '#9c64b2',
    500: '#6e1e91',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e91;
$custom-light: #9c64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e91",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 281.739,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.18008,
    "h": 312.8
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#6E1E91
secondary
#70BD4D
accent
#E93F73
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6E1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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