#6E1B86#6E1B86

#6E1B86 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.173 H 317.2°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#6E1B86
RGBrgb(110, 27, 134)
HSLhsl(287, 66%, 32%)
HSVhsv(287, 80%, 53%)
CMYKcmyk(17.9%, 79.9%, 0%, 47.5%)
CIE-LABlab(28.96, 50.81, -41.75)
CIE-LCHlch(28.96, 65.76, 320.59°)
OKLaboklab(41.02% 0.127 -0.1176)
OKLCHoklch(41.02% 0.173 317.2)
XYZxyz(11.1248, 5.8206, 23.0871)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B86 #33861B
analogous
#391B86 #6E1B86 #861B69
triadic
#6E1B86 #866E1B #1B866E
tetradic
#6E1B86 #86391B #33861B #1B6986
square
#6E1B86 #86391B #33861B #1B6986
split-complementary
#6E1B86 #69861B #1B8639
monochromatic
#1A0620 #441153 #6E1B86 #9825B9 #B742D9

Accessibility & contrast

On white

9.70
#6E1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B86
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B86#FFFFFF#000000##FFFFFF
##6E1B861.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#1D4784
Tritanopia (blue-blind)
#6D3350
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1b86;
/* rgb */ color: rgb(110, 27, 134);
/* oklch */ color: oklch(41.0% 0.173 317.2);
Tailwind
colors: {
  custom: {
    50: '#9b62aa',
    500: '#6e1b86',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b86;
$custom-light: #9b62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b86",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 286.542,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41023,
    "c": 0.17306,
    "h": 317.2
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

primary
#6E1B86
secondary
#5EB944
accent
#E93E65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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