#6E1572#6E1572

#6E1572 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.162 H 326.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#6E1572
RGBrgb(110, 21, 114)
HSLhsl(297, 69%, 26%)
HSVhsv(297, 82%, 45%)
CMYKcmyk(3.5%, 81.6%, 0%, 55.3%)
CIE-LABlab(26.92, 48.92, -32.36)
CIE-LCHlch(26.92, 58.66, 326.51°)
OKLaboklab(39.15% 0.1344 -0.0901)
OKLCHoklch(39.15% 0.162 326.2)
XYZxyz(9.7356, 5.0669, 16.3816)
Luminance0.0507 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1572 #197215
analogous
#401572 #6E1572 #721548
triadic
#6E1572 #726E15 #15726E
tetradic
#6E1572 #724015 #197215 #154872
square
#6E1572 #724015 #197215 #154872
split-complementary
#6E1572 #487215 #157240
monochromatic
#19051A #3C0B3E #6E1572 #A01FA6 #D02AD8

Accessibility & contrast

On white

10.43
#6E1572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6E1572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1572
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1572#FFFFFF#000000##FFFFFF
##6E15721.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2C4370
Tritanopia (blue-blind)
#712644
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e1572;
/* rgb */ color: rgb(110, 21, 114);
/* oklch */ color: oklch(39.2% 0.162 326.2);
Tailwind
colors: {
  custom: {
    50: '#9b5f9b',
    500: '#6e1572',
    950: '#000000',
  },
}
SCSS
$custom: #6e1572;
$custom-light: #9b5f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1572",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 297.419,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.39152,
    "c": 0.16179,
    "h": 326.2
  },
  "luminance": 0.05066
}

Semantic roles & 50–950 ramp

primary
#6E1572
secondary
#3FA83B
accent
#EC3C44
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6E1572

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

Preview Lab → · Contrast checker → · Palette generator →

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