#6E1C7B#6E1C7B

#6E1C7B is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.3% C 0.162 H 321.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#6E1C7B
RGBrgb(110, 28, 123)
HSLhsl(292, 63%, 30%)
HSVhsv(292, 77%, 48%)
CMYKcmyk(10.6%, 77.2%, 0%, 51.8%)
CIE-LABlab(28.32, 48.28, -35.87)
CIE-LCHlch(28.32, 60.15, 323.39°)
OKLaboklab(40.33% 0.1274 -0.1003)
OKLCHoklch(40.33% 0.162 321.8)
XYZxyz(10.4204, 5.5762, 19.2625)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C7B #297B1C
analogous
#3E1C7B #6E1C7B #7B1C59
triadic
#6E1C7B #7B6E1C #1C7B6E
tetradic
#6E1C7B #7B3E1C #297B1C #1C597B
square
#6E1C7B #7B3E1C #297B1C #1C597B
split-complementary
#6E1C7B #597B1C #1C7B3E
monochromatic
#160619 #411149 #6E1C7B #9B27AD #BF3ED3

Accessibility & contrast

On white

9.93
#6E1C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6E1C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C7B
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C7B#FFFFFF#000000##FFFFFF
##6E1C7B1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#6F2E4A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1c7b;
/* rgb */ color: rgb(110, 28, 123);
/* oklch */ color: oklch(40.3% 0.162 321.8);
Tailwind
colors: {
  custom: {
    50: '#9b62a2',
    500: '#6e1c7b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c7b;
$custom-light: #9b62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c7b",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 123
  },
  "hsl": {
    "h": 291.789,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40329,
    "c": 0.16218,
    "h": 321.8
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#6E1C7B
secondary
#53AF44
accent
#E64258
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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