#6E1A86#6E1A86

#6E1A86 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.174 H 317.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#6E1A86
RGBrgb(110, 26, 134)
HSLhsl(287, 68%, 31%)
HSVhsv(287, 81%, 53%)
CMYKcmyk(17.9%, 80.6%, 0%, 47.5%)
CIE-LABlab(28.84, 51.14, -41.94)
CIE-LCHlch(28.84, 66.14, 320.65°)
OKLaboklab(40.94% 0.1279 -0.1181)
OKLCHoklch(40.94% 0.174 317.3)
XYZxyz(11.1022, 5.7755, 23.0796)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A86 #32861A
analogous
#381A86 #6E1A86 #861A68
triadic
#6E1A86 #866E1A #1A866E
tetradic
#6E1A86 #86381A #32861A #1A6886
square
#6E1A86 #86381A #32861A #1A6886
split-complementary
#6E1A86 #68861A #1A8638
monochromatic
#1A061F #441053 #6E1A86 #9824B9 #B840DA

Accessibility & contrast

On white

9.74
#6E1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1A86
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A86#FFFFFF#000000##FFFFFF
##6E1A861.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1a86;
/* rgb */ color: rgb(110, 26, 134);
/* oklch */ color: oklch(40.9% 0.174 317.3);
Tailwind
colors: {
  custom: {
    50: '#9b62aa',
    500: '#6e1a86',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a86;
$custom-light: #9b62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a86",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 286.667,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40941,
    "c": 0.17407,
    "h": 317.3
  },
  "luminance": 0.05775
}

Semantic roles & 50–950 ramp

primary
#6E1A86
secondary
#5DB942
accent
#EA3D64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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