#6E1E82#6E1E82

#6E1E82 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.0% C 0.166 H 318.6°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#6E1E82
RGBrgb(110, 30, 130)
HSLhsl(288, 63%, 31%)
HSVhsv(288, 77%, 51%)
CMYKcmyk(15.4%, 76.9%, 0%, 49%)
CIE-LABlab(29.05, 48.93, -39.10)
CIE-LCHlch(29.05, 62.64, 321.37°)
OKLaboklab(41% 0.1248 -0.1098)
OKLCHoklch(41% 0.166 318.6)
XYZxyz(10.9234, 5.8558, 21.6697)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E82 #32821E
analogous
#3C1E82 #6E1E82 #821E64
triadic
#6E1E82 #826E1E #1E826E
tetradic
#6E1E82 #823C1E #32821E #1E6482
square
#6E1E82 #823C1E #32821E #1E6482
split-complementary
#6E1E82 #64821E #1E823C
monochromatic
#1A071F #441350 #6E1E82 #9829B4 #B846D4

Accessibility & contrast

On white

9.67
#6E1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6E1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E82
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E82#FFFFFF#000000##FFFFFF
##6E1E821.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#244780
Tritanopia (blue-blind)
#6E334F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1e82;
/* rgb */ color: rgb(110, 30, 130);
/* oklch */ color: oklch(41.0% 0.166 318.6);
Tailwind
colors: {
  custom: {
    50: '#9b63a7',
    500: '#6e1e82',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e82;
$custom-light: #9b63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e82",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 288,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40998,
    "c": 0.16622,
    "h": 318.6
  },
  "luminance": 0.05855
}

Semantic roles & 50–950 ramp

primary
#6E1E82
secondary
#5DB547
accent
#E64263
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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