#6E1579#6E1579

#6E1579 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.6% C 0.168 H 323.0°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#6E1579
RGBrgb(110, 21, 121)
HSLhsl(293, 70%, 28%)
HSVhsv(293, 83%, 47%)
CMYKcmyk(9.1%, 82.6%, 0%, 52.5%)
CIE-LABlab(27.39, 50.20, -36.09)
CIE-LCHlch(27.39, 61.83, 324.29°)
OKLaboklab(39.63% 0.1338 -0.1009)
OKLCHoklch(39.63% 0.168 323)
XYZxyz(10.1494, 5.2324, 18.5608)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1579 #207915
analogous
#3C1579 #6E1579 #791552
triadic
#6E1579 #796E15 #15796E
tetradic
#6E1579 #793C15 #207915 #155279
square
#6E1579 #793C15 #207915 #155279
split-complementary
#6E1579 #527915 #15793C
monochromatic
#18051A #3F0C45 #6E1579 #9D1EAD #C82EDB

Accessibility & contrast

On white

10.26
#6E1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6E1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1579
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1579#FFFFFF#000000##FFFFFF
##6E15791.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#274477
Tritanopia (blue-blind)
#702A48
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6e1579;
/* rgb */ color: rgb(110, 21, 121);
/* oklch */ color: oklch(39.6% 0.168 323.0);
Tailwind
colors: {
  custom: {
    50: '#9b5fa0',
    500: '#6e1579',
    950: '#000000',
  },
}
SCSS
$custom: #6e1579;
$custom-light: #9b5fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1579",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 293.4,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.1676,
    "h": 323
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#6E1579
secondary
#48AF3B
accent
#ED3B4E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0F050F
muted
#7E797E

Preview Lab

Preview with #6E1579

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

Preview Lab → · Contrast checker → · Palette generator →

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