#6E1C81#6E1C81

#6E1C81 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.168 H 319.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6E1C81
RGBrgb(110, 28, 129)
HSLhsl(289, 64%, 31%)
HSVhsv(289, 78%, 51%)
CMYKcmyk(14.7%, 78.3%, 0%, 49.4%)
CIE-LABlab(28.72, 49.46, -38.99)
CIE-LCHlch(28.72, 62.98, 321.75°)
OKLaboklab(40.75% 0.1268 -0.1095)
OKLCHoklch(40.75% 0.168 319.2)
XYZxyz(10.8076, 5.7310, 21.3015)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C81 #2F811C
analogous
#3B1C81 #6E1C81 #811C61
triadic
#6E1C81 #816E1C #1C816E
tetradic
#6E1C81 #813B1C #2F811C #1C6181
square
#6E1C81 #813B1C #2F811C #1C6181
split-complementary
#6E1C81 #61811C #1C813B
monochromatic
#18061C #43114F #6E1C81 #9927B3 #BA42D6

Accessibility & contrast

On white

9.79
#6E1C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6E1C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C81
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C81#FFFFFF#000000##FFFFFF
##6E1C811.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#24467F
Tritanopia (blue-blind)
#6E314E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1c81;
/* rgb */ color: rgb(110, 28, 129);
/* oklch */ color: oklch(40.7% 0.168 319.2);
Tailwind
colors: {
  custom: {
    50: '#9b62a6',
    500: '#6e1c81',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c81;
$custom-light: #9b62a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c81",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 129
  },
  "hsl": {
    "h": 288.713,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40748,
    "c": 0.16753,
    "h": 319.2
  },
  "luminance": 0.0573
}

Semantic roles & 50–950 ramp

primary
#6E1C81
secondary
#59B444
accent
#E74060
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6E1C81

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

Preview Lab → · Contrast checker → · Palette generator →

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