#6E1C84#6E1C84

#6E1C84 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.170 H 317.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#6E1C84
RGBrgb(110, 28, 132)
HSLhsl(287, 65%, 31%)
HSVhsv(287, 79%, 52%)
CMYKcmyk(16.7%, 78.8%, 0%, 48.2%)
CIE-LABlab(28.93, 50.06, -40.54)
CIE-LCHlch(28.93, 64.41, 321.00°)
OKLaboklab(40.96% 0.1264 -0.114)
OKLCHoklch(40.96% 0.17 317.9)
XYZxyz(11.0099, 5.8120, 22.3672)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C84 #32841C
analogous
#3A1C84 #6E1C84 #841C66
triadic
#6E1C84 #846E1C #1C846E
tetradic
#6E1C84 #843A1C #32841C #1C6684
square
#6E1C84 #843A1C #32841C #1C6684
split-complementary
#6E1C84 #66841C #1C843A
monochromatic
#1A071F #441152 #6E1C84 #9827B6 #B843D7

Accessibility & contrast

On white

9.71
#6E1C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E1C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C84
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C84#FFFFFF#000000##FFFFFF
##6E1C841.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#204782
Tritanopia (blue-blind)
#6D334F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1c84;
/* rgb */ color: rgb(110, 28, 132);
/* oklch */ color: oklch(41.0% 0.170 317.9);
Tailwind
colors: {
  custom: {
    50: '#9b62a8',
    500: '#6e1c84',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c84;
$custom-light: #9b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c84",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 287.308,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.17023,
    "h": 317.9
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#6E1C84
secondary
#5DB745
accent
#E84063
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1C84

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

Preview Lab → · Contrast checker → · Palette generator →

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