#6E1584#6E1584

#6E1584 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.177 H 318.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#6E1584
RGBrgb(110, 21, 132)
HSLhsl(288, 73%, 30%)
HSVhsv(288, 84%, 52%)
CMYKcmyk(16.7%, 84.1%, 0%, 48.2%)
CIE-LABlab(28.16, 52.29, -41.78)
CIE-LCHlch(28.16, 66.93, 321.38°)
OKLaboklab(40.42% 0.1322 -0.1176)
OKLCHoklch(40.42% 0.177 318.3)
XYZxyz(10.8629, 5.5178, 22.3182)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1584 #2B8415
analogous
#361584 #6E1584 #841563
triadic
#6E1584 #846E15 #15846E
tetradic
#6E1584 #843615 #2B8415 #156384
square
#6E1584 #843615 #2B8415 #156384
split-complementary
#6E1584 #638415 #158436
monochromatic
#16041A #420D4F #6E1584 #9A1DB9 #BD35DF

Accessibility & contrast

On white

9.98
#6E1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#6E1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1584
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1584#FFFFFF#000000##FFFFFF
##6E15841.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#1B4582
Tritanopia (blue-blind)
#6D2F4E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6e1584;
/* rgb */ color: rgb(110, 21, 132);
/* oklch */ color: oklch(40.4% 0.177 318.3);
Tailwind
colors: {
  custom: {
    50: '#9c60a8',
    500: '#6e1584',
    950: '#000000',
  },
}
SCSS
$custom: #6e1584;
$custom-light: #9c60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1584",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 288.108,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.40419,
    "c": 0.17693,
    "h": 318.3
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#6E1584
secondary
#55B93C
accent
#EF395D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0510
muted
#7E7A7F

Preview Lab

Preview with #6E1584

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

Preview Lab → · Contrast checker → · Palette generator →

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