#6E1D8B#6E1D8B

#6E1D8B is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.176 H 315.1°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6E1D8B
RGBrgb(110, 29, 139)
HSLhsl(284, 65%, 33%)
HSVhsv(284, 79%, 55%)
CMYKcmyk(20.9%, 79.1%, 0%, 45.5%)
CIE-LABlab(29.56, 51.13, -43.89)
CIE-LCHlch(29.56, 67.39, 319.36°)
OKLaboklab(41.56% 0.1244 -0.1239)
OKLCHoklch(41.56% 0.176 315.1)
XYZxyz(11.5292, 6.0582, 24.9831)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D8B #3A8B1D
analogous
#371D8B #6E1D8B #8B1D71
triadic
#6E1D8B #8B6E1D #1D8B6E
tetradic
#6E1D8B #8B371D #3A8B1D #1D718B
square
#6E1D8B #8B371D #3A8B1D #1D718B
split-complementary
#6E1D8B #718B1D #1D8B37
monochromatic
#1E0826 #461258 #6E1D8B #9628BE #B349D9

Accessibility & contrast

On white

9.50
#6E1D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1D8B
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D8B#FFFFFF#000000##FFFFFF
##6E1D8B1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#184889
Tritanopia (blue-blind)
#6C3654
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6e1d8b;
/* rgb */ color: rgb(110, 29, 139);
/* oklch */ color: oklch(41.6% 0.176 315.1);
Tailwind
colors: {
  custom: {
    50: '#9c63ae',
    500: '#6e1d8b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d8b;
$custom-light: #9c63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d8b",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 284.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41564,
    "c": 0.17555,
    "h": 315.1
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

primary
#6E1D8B
secondary
#67BB49
accent
#E83F6C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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