#6E1B71#6E1B71

#6E1B71 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.6% C 0.155 H 326.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#6E1B71
RGBrgb(110, 27, 113)
HSLhsl(298, 61%, 27%)
HSVhsv(298, 76%, 44%)
CMYKcmyk(2.7%, 76.1%, 0%, 55.7%)
CIE-LABlab(27.55, 46.76, -30.73)
CIE-LCHlch(27.55, 55.95, 326.69°)
OKLaboklab(39.58% 0.1289 -0.0853)
OKLCHoklch(39.58% 0.155 326.5)
XYZxyz(9.8028, 5.2918, 16.1247)
Luminance0.0529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B71 #1E711B
analogous
#431B71 #6E1B71 #711B49
triadic
#6E1B71 #716E1B #1B716E
tetradic
#6E1B71 #71431B #1E711B #1B4971
square
#6E1B71 #71431B #1E711B #1B4971
split-complementary
#6E1B71 #49711B #1B7143
monochromatic
#180619 #3E0F40 #6E1B71 #9E27A2 #CA37CF

Accessibility & contrast

On white

10.20
#6E1B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#6E1B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B71
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B71#FFFFFF#000000##FFFFFF
##6E1B711.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053A73
Deuteranopia (green-blind)
#30456F
Tritanopia (blue-blind)
#712944
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1b71;
/* rgb */ color: rgb(110, 27, 113);
/* oklch */ color: oklch(39.6% 0.155 326.5);
Tailwind
colors: {
  custom: {
    50: '#9b619a',
    500: '#6e1b71',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b71;
$custom-light: #9b619a;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b71",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 113
  },
  "hsl": {
    "h": 297.907,
    "s": 61.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.39577,
    "c": 0.1546,
    "h": 326.5
  },
  "luminance": 0.05291
}

Semantic roles & 50–950 ramp

primary
#6E1B71
secondary
#46A642
accent
#E54349
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E050E
muted
#7E7A7E

Preview Lab

Preview with #6E1B71

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

Preview Lab → · Contrast checker → · Palette generator →

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