#6E1E7B#6E1E7B

#6E1E7B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.5% C 0.160 H 321.7°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#6E1E7B
RGBrgb(110, 30, 123)
HSLhsl(292, 61%, 30%)
HSVhsv(292, 76%, 48%)
CMYKcmyk(10.6%, 75.6%, 0%, 51.8%)
CIE-LABlab(28.58, 47.55, -35.45)
CIE-LCHlch(28.58, 59.31, 323.29°)
OKLaboklab(40.51% 0.1254 -0.0991)
OKLCHoklch(40.51% 0.16 321.7)
XYZxyz(10.4694, 5.6742, 19.2788)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E7B #2B7B1E
analogous
#401E7B #6E1E7B #7B1E59
triadic
#6E1E7B #7B6E1E #1E7B6E
tetradic
#6E1E7B #7B401E #2B7B1E #1E597B
square
#6E1E7B #7B401E #2B7B1E #1E597B
split-complementary
#6E1E7B #597B1E #1E7B40
monochromatic
#160619 #42124A #6E1E7B #9A2AAC #BD42D1

Accessibility & contrast

On white

9.84
#6E1E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E1E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E7B
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E7B#FFFFFF#000000##FFFFFF
##6E1E7B1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#2A4679
Tritanopia (blue-blind)
#6F304B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1e7b;
/* rgb */ color: rgb(110, 30, 123);
/* oklch */ color: oklch(40.5% 0.160 321.7);
Tailwind
colors: {
  custom: {
    50: '#9b63a2',
    500: '#6e1e7b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e7b;
$custom-light: #9b63a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e7b",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 291.613,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.15987,
    "h": 321.7
  },
  "luminance": 0.05674
}

Semantic roles & 50–950 ramp

primary
#6E1E7B
secondary
#55AE46
accent
#E4445A
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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