#6E2181#6E2181

#6E2181 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.2% C 0.162 H 318.9°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#6E2181
RGBrgb(110, 33, 129)
HSLhsl(288, 59%, 32%)
HSVhsv(288, 74%, 51%)
CMYKcmyk(14.7%, 74.4%, 0%, 49.4%)
CIE-LABlab(29.38, 47.58, -37.94)
CIE-LCHlch(29.38, 60.85, 321.43°)
OKLaboklab(41.22% 0.1218 -0.1064)
OKLCHoklch(41.22% 0.162 318.9)
XYZxyz(10.9362, 5.9882, 21.3444)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2181 #348121
analogous
#3E2181 #6E2181 #812164
triadic
#6E2181 #816E21 #21816E
tetradic
#6E2181 #813E21 #348121 #216481
square
#6E2181 #813E21 #348121 #216481
split-complementary
#6E2181 #648121 #21813E
monochromatic
#1B0820 #441550 #6E2181 #982DB2 #B74BD1

Accessibility & contrast

On white

9.56
#6E2181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E2181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2181
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2181#FFFFFF#000000##FFFFFF
##6E21811.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#27487F
Tritanopia (blue-blind)
#6E344F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e2181;
/* rgb */ color: rgb(110, 33, 129);
/* oklch */ color: oklch(41.2% 0.162 318.9);
Tailwind
colors: {
  custom: {
    50: '#9b64a6',
    500: '#6e2181',
    950: '#000000',
  },
}
SCSS
$custom: #6e2181;
$custom-light: #9b64a6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2181",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 288.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41216,
    "c": 0.16179,
    "h": 318.9
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#6E2181
secondary
#5FB44A
accent
#E24564
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E2181

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

Preview Lab → · Contrast checker → · Palette generator →

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