#6E1C7D#6E1C7D

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

Color values

HEX#6E1C7D
RGBrgb(110, 28, 125)
HSLhsl(291, 63%, 30%)
HSVhsv(291, 78%, 49%)
CMYKcmyk(12%, 77.6%, 0%, 51%)
CIE-LABlab(28.45, 48.67, -36.92)
CIE-LCHlch(28.45, 61.09, 322.82°)
OKLaboklab(40.47% 0.1272 -0.1034)
OKLCHoklch(40.47% 0.164 320.9)
XYZxyz(10.5469, 5.6267, 19.9286)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C7D #2B7D1C
analogous
#3E1C7D #6E1C7D #7D1C5B
triadic
#6E1C7D #7D6E1C #1C7D6E
tetradic
#6E1C7D #7D3E1C #2B7D1C #1C5B7D
square
#6E1C7D #7D3E1C #2B7D1C #1C5B7D
split-complementary
#6E1C7D #5B7D1C #1C7D3E
monochromatic
#160619 #42114B #6E1C7D #9A27AF #BD3FD4

Accessibility & contrast

On white

9.88
#6E1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6E1C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C7D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C7D#FFFFFF#000000##FFFFFF
##6E1C7D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#6F2F4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1c7d;
/* rgb */ color: rgb(110, 28, 125);
/* oklch */ color: oklch(40.5% 0.164 320.9);
Tailwind
colors: {
  custom: {
    50: '#9b62a3',
    500: '#6e1c7d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c7d;
$custom-light: #9b62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c7d",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 290.722,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.40467,
    "c": 0.16395,
    "h": 320.9
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#6E1C7D
secondary
#55B144
accent
#E6415B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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