#6E1B82#6E1B82

#6E1B82 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.169 H 318.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#6E1B82
RGBrgb(110, 27, 130)
HSLhsl(288, 66%, 31%)
HSVhsv(288, 79%, 51%)
CMYKcmyk(15.4%, 79.2%, 0%, 49%)
CIE-LABlab(28.67, 50.01, -39.71)
CIE-LCHlch(28.67, 63.85, 321.55°)
OKLaboklab(40.73% 0.1276 -0.1116)
OKLCHoklch(40.73% 0.169 318.8)
XYZxyz(10.8511, 5.7111, 21.6455)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B82 #2F821B
analogous
#3B1B82 #6E1B82 #821B62
triadic
#6E1B82 #826E1B #1B826E
tetradic
#6E1B82 #823B1B #2F821B #1B6282
square
#6E1B82 #823B1B #2F821B #1B6282
split-complementary
#6E1B82 #62821B #1B823B
monochromatic
#18061D #43104F #6E1B82 #9926B5 #BA40D7

Accessibility & contrast

On white

9.80
#6E1B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6E1B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B82
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B82#FFFFFF#000000##FFFFFF
##6E1B821.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1b82;
/* rgb */ color: rgb(110, 27, 130);
/* oklch */ color: oklch(40.7% 0.169 318.8);
Tailwind
colors: {
  custom: {
    50: '#9b62a7',
    500: '#6e1b82',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b82;
$custom-light: #9b62a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b82",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 130
  },
  "hsl": {
    "h": 288.35,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40733,
    "c": 0.16948,
    "h": 318.8
  },
  "luminance": 0.05711
}

Semantic roles & 50–950 ramp

primary
#6E1B82
secondary
#59B643
accent
#E93F60
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6E1B82

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

Preview Lab → · Contrast checker → · Palette generator →

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