#6E1F85#6E1F85

#6E1F85 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.168 H 317.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6E1F85
RGBrgb(110, 31, 133)
HSLhsl(286, 62%, 32%)
HSVhsv(286, 77%, 52%)
CMYKcmyk(17.3%, 76.7%, 0%, 47.8%)
CIE-LABlab(29.38, 49.17, -40.44)
CIE-LCHlch(29.38, 63.66, 320.57°)
OKLaboklab(41.31% 0.1234 -0.1137)
OKLCHoklch(41.31% 0.168 317.3)
XYZxyz(11.1534, 5.9889, 22.7542)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1F85 #36851F
analogous
#3B1F85 #6E1F85 #851F69
triadic
#6E1F85 #856E1F #1F856E
tetradic
#6E1F85 #853B1F #36851F #1F6985
square
#6E1F85 #853B1F #36851F #1F6985
split-complementary
#6E1F85 #69851F #1F853B
monochromatic
#1C0822 #451353 #6E1F85 #972BB7 #B54AD5

Accessibility & contrast

On white

9.56
#6E1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1F85
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1F85#FFFFFF#000000##FFFFFF
##6E1F851.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1f85;
/* rgb */ color: rgb(110, 31, 133);
/* oklch */ color: oklch(41.3% 0.168 317.3);
Tailwind
colors: {
  custom: {
    50: '#9b64a9',
    500: '#6e1f85',
    950: '#000000',
  },
}
SCSS
$custom: #6e1f85;
$custom-light: #9b64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1f85",
  "rgb": {
    "r": 110,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 286.471,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41305,
    "c": 0.16785,
    "h": 317.3
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#6E1F85
secondary
#62B749
accent
#E54367
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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