#6E1D85#6E1D85

#6E1D85 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.170 H 317.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6E1D85
RGBrgb(110, 29, 133)
HSLhsl(287, 64%, 32%)
HSVhsv(287, 78%, 52%)
CMYKcmyk(17.3%, 78.2%, 0%, 47.8%)
CIE-LABlab(29.13, 49.90, -40.85)
CIE-LCHlch(29.13, 64.49, 320.70°)
OKLaboklab(41.12% 0.1253 -0.115)
OKLCHoklch(41.12% 0.17 317.5)
XYZxyz(11.1028, 5.8877, 22.7373)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D85 #34851D
analogous
#3A1D85 #6E1D85 #851D68
triadic
#6E1D85 #856E1D #1D856E
tetradic
#6E1D85 #853A1D #34851D #1D6885
square
#6E1D85 #853A1D #34851D #1D6885
split-complementary
#6E1D85 #68851D #1D853A
monochromatic
#1B0721 #441253 #6E1D85 #9828B7 #B746D7

Accessibility & contrast

On white

9.64
#6E1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6E1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D85
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D85#FFFFFF#000000##FFFFFF
##6E1D851.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1d85;
/* rgb */ color: rgb(110, 29, 133);
/* oklch */ color: oklch(41.1% 0.170 317.5);
Tailwind
colors: {
  custom: {
    50: '#9b63a9',
    500: '#6e1d85',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d85;
$custom-light: #9b63a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d85",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 286.731,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.17007,
    "h": 317.5
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#6E1D85
secondary
#5FB846
accent
#E74165
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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