#6E1C87#6E1C87

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

Color values

HEX#6E1C87
RGBrgb(110, 28, 135)
HSLhsl(286, 66%, 32%)
HSVhsv(286, 79%, 53%)
CMYKcmyk(18.5%, 79.3%, 0%, 47.1%)
CIE-LABlab(29.15, 50.67, -42.07)
CIE-LCHlch(29.15, 65.85, 320.30°)
OKLaboklab(41.18% 0.1259 -0.1185)
OKLCHoklch(41.18% 0.173 316.7)
XYZxyz(11.2182, 5.8952, 23.4639)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C87 #35871C
analogous
#381C87 #6E1C87 #871C6B
triadic
#6E1C87 #876E1C #1C876E
tetradic
#6E1C87 #87381C #35871C #1C6B87
square
#6E1C87 #87381C #35871C #1C6B87
split-complementary
#6E1C87 #6B871C #1C8738
monochromatic
#1B0722 #451154 #6E1C87 #9727BA #B645D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1C87#FFFFFF#000000##FFFFFF
##6E1C871.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)
#00408A
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#6D3451
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1c87;
/* rgb */ color: rgb(110, 28, 135);
/* oklch */ color: oklch(41.2% 0.173 316.7);
Tailwind
colors: {
  custom: {
    50: '#9b62ab',
    500: '#6e1c87',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c87;
$custom-light: #9b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c87",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 285.981,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41181,
    "c": 0.17294,
    "h": 316.7
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#6E1C87
secondary
#60BA45
accent
#E93F67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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