#6E1B8A#6E1B8A

#6E1B8A is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.177 H 315.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#6E1B8A
RGBrgb(110, 27, 138)
HSLhsl(285, 67%, 32%)
HSVhsv(285, 80%, 54%)
CMYKcmyk(20.3%, 80.4%, 0%, 45.9%)
CIE-LABlab(29.25, 51.62, -43.78)
CIE-LCHlch(29.25, 67.68, 319.70°)
OKLaboklab(41.32% 0.1263 -0.1235)
OKLCHoklch(41.32% 0.177 315.6)
XYZxyz(11.4091, 5.9343, 24.5843)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B8A #378A1B
analogous
#371B8A #6E1B8A #8A1B6F
triadic
#6E1B8A #8A6E1B #1B8A6E
tetradic
#6E1B8A #8A371B #378A1B #1B6F8A
square
#6E1B8A #8A371B #378A1B #1B6F8A
split-complementary
#6E1B8A #6F8A1B #1B8A37
monochromatic
#1C0724 #451157 #6E1B8A #9725BD #B545DB

Accessibility & contrast

On white

9.60
#6E1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#6E1B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B8A
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B8A#FFFFFF#000000##FFFFFF
##6E1B8A1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#174788
Tritanopia (blue-blind)
#6C3553
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1b8a;
/* rgb */ color: rgb(110, 27, 138);
/* oklch */ color: oklch(41.3% 0.177 315.6);
Tailwind
colors: {
  custom: {
    50: '#9c62ad',
    500: '#6e1b8a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b8a;
$custom-light: #9c62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b8a",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 284.865,
    "s": 67.273,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4132,
    "c": 0.17667,
    "h": 315.6
  },
  "luminance": 0.05934
}

Semantic roles & 50–950 ramp

primary
#6E1B8A
secondary
#63BC45
accent
#EA3E69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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