#6E1B7E#6E1B7E

#6E1B7E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.166 H 320.5°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#6E1B7E
RGBrgb(110, 27, 126)
HSLhsl(290, 65%, 30%)
HSVhsv(290, 79%, 49%)
CMYKcmyk(12.7%, 78.6%, 0%, 50.6%)
CIE-LABlab(28.40, 49.22, -37.63)
CIE-LCHlch(28.40, 61.96, 322.60°)
OKLaboklab(40.45% 0.1281 -0.1055)
OKLCHoklch(40.45% 0.166 320.5)
XYZxyz(10.5878, 5.6058, 20.2589)
Luminance0.0561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B7E #2B7E1B
analogous
#3C1B7E #6E1B7E #7E1B5D
triadic
#6E1B7E #7E6E1B #1B7E6E
tetradic
#6E1B7E #7E3C1B #2B7E1B #1B5D7E
square
#6E1B7E #7E3C1B #2B7E1B #1B5D7E
split-complementary
#6E1B7E #5D7E1B #1B7E3C
monochromatic
#160519 #42104C #6E1B7E #9A26B0 #BD3ED6

Accessibility & contrast

On white

9.90
#6E1B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E1B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B7E
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B7E#FFFFFF#000000##FFFFFF
##6E1B7E1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#6F2F4C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1b7e;
/* rgb */ color: rgb(110, 27, 126);
/* oklch */ color: oklch(40.4% 0.166 320.5);
Tailwind
colors: {
  custom: {
    50: '#9b62a4',
    500: '#6e1b7e',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b7e;
$custom-light: #9b62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b7e",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 290.303,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40449,
    "c": 0.16593,
    "h": 320.5
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#6E1B7E
secondary
#55B243
accent
#E8405B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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