#6E1581#6E1581

#6E1581 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.174 H 319.5°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#6E1581
RGBrgb(110, 21, 129)
HSLhsl(289, 72%, 29%)
HSVhsv(289, 84%, 51%)
CMYKcmyk(14.7%, 83.7%, 0%, 49.4%)
CIE-LABlab(27.94, 51.71, -40.25)
CIE-LCHlch(27.94, 65.53, 322.11°)
OKLaboklab(40.2% 0.1327 -0.1131)
OKLCHoklch(40.2% 0.174 319.5)
XYZxyz(10.6605, 5.4369, 21.2525)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1581 #288115
analogous
#381581 #6E1581 #81155E
triadic
#6E1581 #816E15 #15816E
tetradic
#6E1581 #813815 #288115 #155E81
square
#6E1581 #813815 #288115 #155E81
split-complementary
#6E1581 #5E8115 #158138
monochromatic
#16041A #410C4C #6E1581 #9B1EB6 #C033DE

Accessibility & contrast

On white

10.06
#6E1581 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6E1581 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1581
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1581#FFFFFF#000000##FFFFFF
##6E15811.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#1F457F
Tritanopia (blue-blind)
#6E2E4C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1581;
/* rgb */ color: rgb(110, 21, 129);
/* oklch */ color: oklch(40.2% 0.174 319.5);
Tailwind
colors: {
  custom: {
    50: '#9b60a6',
    500: '#6e1581',
    950: '#000000',
  },
}
SCSS
$custom: #6e1581;
$custom-light: #9b60a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1581",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 129
  },
  "hsl": {
    "h": 289.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40198,
    "c": 0.17436,
    "h": 319.5
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#6E1581
secondary
#51B63C
accent
#EF3959
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E1581

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

Preview Lab → · Contrast checker → · Palette generator →

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