#6E1D80#6E1D80

#6E1D80 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.8% C 0.166 H 319.5°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#6E1D80
RGBrgb(110, 29, 128)
HSLhsl(289, 63%, 31%)
HSVhsv(289, 77%, 50%)
CMYKcmyk(14.1%, 77.3%, 0%, 49.8%)
CIE-LABlab(28.78, 48.90, -38.28)
CIE-LCHlch(28.78, 62.10, 321.95°)
OKLaboklab(40.77% 0.126 -0.1074)
OKLCHoklch(40.77% 0.166 319.5)
XYZxyz(10.7656, 5.7528, 20.9612)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D80 #2F801D
analogous
#3C1D80 #6E1D80 #801D60
triadic
#6E1D80 #806E1D #1D806E
tetradic
#6E1D80 #803C1D #2F801D #1D6080
square
#6E1D80 #803C1D #2F801D #1D6080
split-complementary
#6E1D80 #60801D #1D803C
monochromatic
#18061C #43124E #6E1D80 #9928B2 #BA43D4

Accessibility & contrast

On white

9.77
#6E1D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6E1D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D80
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D80#FFFFFF#000000##FFFFFF
##6E1D801.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#25477E
Tritanopia (blue-blind)
#6E314D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1d80;
/* rgb */ color: rgb(110, 29, 128);
/* oklch */ color: oklch(40.8% 0.166 319.5);
Tailwind
colors: {
  custom: {
    50: '#9b63a5',
    500: '#6e1d80',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d80;
$custom-light: #9b63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d80",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 289.091,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40766,
    "c": 0.16553,
    "h": 319.5
  },
  "luminance": 0.05752
}

Semantic roles & 50–950 ramp

primary
#6E1D80
secondary
#59B345
accent
#E64260
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #6E1D80

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

Preview Lab → · Contrast checker → · Palette generator →

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