#6E1F87#6E1F87

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

Color values

HEX#6E1F87
RGBrgb(110, 31, 135)
HSLhsl(286, 63%, 33%)
HSVhsv(286, 77%, 53%)
CMYKcmyk(18.5%, 77%, 0%, 47.1%)
CIE-LABlab(29.52, 49.58, -41.46)
CIE-LCHlch(29.52, 64.63, 320.10°)
OKLaboklab(41.45% 0.1232 -0.1167)
OKLCHoklch(41.45% 0.17 316.5)
XYZxyz(11.2929, 6.0447, 23.4889)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F87 #38871F
analogous
#3A1F87 #6E1F87 #871F6C
triadic
#6E1F87 #876E1F #1F876E
tetradic
#6E1F87 #873A1F #38871F #1F6C87
square
#6E1F87 #873A1F #38871F #1F6C87
split-complementary
#6E1F87 #6C871F #1F873A
monochromatic
#1D0823 #451455 #6E1F87 #972AB9 #B44BD6

Accessibility & contrast

On white

9.51
#6E1F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6E1F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1F87
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F87#FFFFFF#000000##FFFFFF
##6E1F871.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#6C3652
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1f87;
/* rgb */ color: rgb(110, 31, 135);
/* oklch */ color: oklch(41.4% 0.170 316.5);
Tailwind
colors: {
  custom: {
    50: '#9b64ab',
    500: '#6e1f87',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f87;
$custom-light: #9b64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f87",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 285.577,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41449,
    "c": 0.1697,
    "h": 316.5
  },
  "luminance": 0.06044
}

Semantic roles & 50–950 ramp

primary
#6E1F87
secondary
#64B84A
accent
#E64269
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1F87

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

Preview Lab → · Contrast checker → · Palette generator →

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