#6E1D8A#6E1D8A

#6E1D8A is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.175 H 315.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#6E1D8A
RGBrgb(110, 29, 138)
HSLhsl(285, 65%, 33%)
HSVhsv(285, 79%, 54%)
CMYKcmyk(20.3%, 79%, 0%, 45.9%)
CIE-LABlab(29.49, 50.93, -43.39)
CIE-LCHlch(29.49, 66.90, 319.57°)
OKLaboklab(41.49% 0.1246 -0.1224)
OKLCHoklch(41.49% 0.175 315.5)
XYZxyz(11.4565, 6.0291, 24.6001)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D8A #398A1D
analogous
#371D8A #6E1D8A #8A1D6F
triadic
#6E1D8A #8A6E1D #1D8A6E
tetradic
#6E1D8A #8A371D #398A1D #1D6F8A
square
#6E1D8A #8A371D #398A1D #1D6F8A
split-complementary
#6E1D8A #6F8A1D #1D8A37
monochromatic
#1D0825 #461257 #6E1D8A #9628BD #B449D9

Accessibility & contrast

On white

9.52
#6E1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1D8A
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D8A#FFFFFF#000000##FFFFFF
##6E1D8A1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#194888
Tritanopia (blue-blind)
#6C3653
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1d8a;
/* rgb */ color: rgb(110, 29, 138);
/* oklch */ color: oklch(41.5% 0.175 315.5);
Tailwind
colors: {
  custom: {
    50: '#9b63ad',
    500: '#6e1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d8a;
$custom-light: #9b63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d8a",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 284.587,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41489,
    "c": 0.17463,
    "h": 315.5
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#6E1D8A
secondary
#65BB48
accent
#E8406B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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