#6E1B7C#6E1B7C

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

Color values

HEX#6E1B7C
RGBrgb(110, 27, 124)
HSLhsl(291, 64%, 30%)
HSVhsv(291, 78%, 49%)
CMYKcmyk(11.3%, 78.2%, 0%, 51.4%)
CIE-LABlab(28.26, 48.83, -36.59)
CIE-LCHlch(28.26, 61.02, 323.16°)
OKLaboklab(40.31% 0.1283 -0.1025)
OKLCHoklch(40.31% 0.164 321.4)
XYZxyz(10.4600, 5.5547, 19.5861)
Luminance0.0555 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B7C #297C1B
analogous
#3E1B7C #6E1B7C #7C1B5A
triadic
#6E1B7C #7C6E1B #1B7C6E
tetradic
#6E1B7C #7C3E1B #297C1B #1B5A7C
square
#6E1B7C #7C3E1B #297C1B #1B5A7C
split-complementary
#6E1B7C #5A7C1B #1B7C3E
monochromatic
#160519 #41104A #6E1B7C #9B26AE #BF3DD5

Accessibility & contrast

On white

9.95
#6E1B7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#6E1B7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B7C
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B7C#FFFFFF#000000##FFFFFF
##6E1B7C1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#28467A
Tritanopia (blue-blind)
#6F2E4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1b7c;
/* rgb */ color: rgb(110, 27, 124);
/* oklch */ color: oklch(40.3% 0.164 321.4);
Tailwind
colors: {
  custom: {
    50: '#9b62a2',
    500: '#6e1b7c',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b7c;
$custom-light: #9b62a2;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b7c",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 124
  },
  "hsl": {
    "h": 291.34,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.16416,
    "h": 321.4
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#6E1B7C
secondary
#53B043
accent
#E74159
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E050F
muted
#7E7A7F

Preview Lab

Preview with #6E1B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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