#6E1A82#6E1A82

#6E1A82 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.171 H 318.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6E1A82
RGBrgb(110, 26, 130)
HSLhsl(288, 67%, 31%)
HSVhsv(288, 80%, 51%)
CMYKcmyk(15.4%, 80%, 0%, 49%)
CIE-LABlab(28.55, 50.35, -39.90)
CIE-LCHlch(28.55, 64.24, 321.61°)
OKLaboklab(40.65% 0.1285 -0.1121)
OKLCHoklch(40.65% 0.171 318.9)
XYZxyz(10.8285, 5.6660, 21.6380)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A82 #2E821A
analogous
#3A1A82 #6E1A82 #821A62
triadic
#6E1A82 #826E1A #1A826E
tetradic
#6E1A82 #823A1A #2E821A #1A6282
square
#6E1A82 #823A1A #2E821A #1A6282
split-complementary
#6E1A82 #62821A #1A823A
monochromatic
#18061C #43104F #6E1A82 #9924B5 #BB3ED8

Accessibility & contrast

On white

9.85
#6E1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1A82
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A82#FFFFFF#000000##FFFFFF
##6E1A821.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#214680
Tritanopia (blue-blind)
#6E314E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e1a82;
/* rgb */ color: rgb(110, 26, 130);
/* oklch */ color: oklch(40.6% 0.171 318.9);
Tailwind
colors: {
  custom: {
    50: '#9b61a7',
    500: '#6e1a82',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a82;
$custom-light: #9b61a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a82",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 288.462,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4065,
    "c": 0.17051,
    "h": 318.9
  },
  "luminance": 0.05665
}

Semantic roles & 50–950 ramp

primary
#6E1A82
secondary
#58B642
accent
#EA3E5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F050F
muted
#7E7A7F

Preview Lab

Preview with #6E1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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