#6E1F86#6E1F86

#6E1F86 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.169 H 316.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#6E1F86
RGBrgb(110, 31, 134)
HSLhsl(286, 62%, 32%)
HSVhsv(286, 77%, 53%)
CMYKcmyk(17.9%, 76.9%, 0%, 47.5%)
CIE-LABlab(29.45, 49.37, -40.95)
CIE-LCHlch(29.45, 64.14, 320.33°)
OKLaboklab(41.38% 0.1233 -0.1152)
OKLCHoklch(41.38% 0.169 316.9)
XYZxyz(11.2228, 6.0167, 23.1198)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F86 #37861F
analogous
#3A1F86 #6E1F86 #861F6B
triadic
#6E1F86 #866E1F #1F866E
tetradic
#6E1F86 #863A1F #37861F #1F6B86
square
#6E1F86 #863A1F #37861F #1F6B86
split-complementary
#6E1F86 #6B861F #1F863A
monochromatic
#1C0823 #451454 #6E1F86 #972AB8 #B54AD5

Accessibility & contrast

On white

9.53
#6E1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E1F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F86
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F86#FFFFFF#000000##FFFFFF
##6E1F861.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#204884
Tritanopia (blue-blind)
#6D3551
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1f86;
/* rgb */ color: rgb(110, 31, 134);
/* oklch */ color: oklch(41.4% 0.169 316.9);
Tailwind
colors: {
  custom: {
    50: '#9b64aa',
    500: '#6e1f86',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f86;
$custom-light: #9b64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f86",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 286.019,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41376,
    "c": 0.16878,
    "h": 316.9
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#6E1F86
secondary
#63B849
accent
#E54268
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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