#6E1981#6E1981

#6E1981 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.171 H 319.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#6E1981
RGBrgb(110, 25, 129)
HSLhsl(289, 68%, 30%)
HSVhsv(289, 81%, 51%)
CMYKcmyk(14.7%, 80.6%, 0%, 49.4%)
CIE-LABlab(28.37, 50.48, -39.56)
CIE-LCHlch(28.37, 64.14, 321.91°)
OKLaboklab(40.5% 0.1295 -0.1112)
OKLCHoklch(40.5% 0.171 319.3)
XYZxyz(10.7400, 5.5958, 21.2790)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1981 #2C8119
analogous
#3A1981 #6E1981 #811960
triadic
#6E1981 #816E19 #19816E
tetradic
#6E1981 #813A19 #2C8119 #196081
square
#6E1981 #813A19 #2C8119 #196081
split-complementary
#6E1981 #608119 #19813A
monochromatic
#17051A #420F4E #6E1981 #9A23B4 #BC3BD9

Accessibility & contrast

On white

9.91
#6E1981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E1981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1981
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1981#FFFFFF#000000##FFFFFF
##6E19811.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#21467F
Tritanopia (blue-blind)
#6E304D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1981;
/* rgb */ color: rgb(110, 25, 129);
/* oklch */ color: oklch(40.5% 0.171 319.3);
Tailwind
colors: {
  custom: {
    50: '#9b61a6',
    500: '#6e1981',
    950: '#000000',
  },
}
SCSS
$custom: #6e1981;
$custom-light: #9b61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1981",
  "rgb": {
    "r": 110,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 289.038,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.17064,
    "h": 319.3
  },
  "luminance": 0.05595
}

Semantic roles & 50–950 ramp

primary
#6E1981
secondary
#56B541
accent
#EA3D5D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E1981

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

Preview Lab → · Contrast checker → · Palette generator →

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