#6E1B88#6E1B88

#6E1B88 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.175 H 316.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#6E1B88
RGBrgb(110, 27, 136)
HSLhsl(286, 67%, 32%)
HSVhsv(286, 80%, 53%)
CMYKcmyk(19.1%, 80.1%, 0%, 46.7%)
CIE-LABlab(29.10, 51.21, -42.77)
CIE-LCHlch(29.10, 66.72, 320.14°)
OKLaboklab(41.17% 0.1267 -0.1206)
OKLCHoklch(41.17% 0.175 316.4)
XYZxyz(11.2656, 5.8769, 23.8287)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B88 #35881B
analogous
#381B88 #6E1B88 #881B6C
triadic
#6E1B88 #886E1B #1B886E
tetradic
#6E1B88 #88381B #35881B #1B6C88
square
#6E1B88 #88381B #35881B #1B6C88
split-complementary
#6E1B88 #6C881B #1B8838
monochromatic
#1B0722 #451155 #6E1B88 #9725BB #B644DA

Accessibility & contrast

On white

9.65
#6E1B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6E1B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B88
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B88#FFFFFF#000000##FFFFFF
##6E1B881.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408B
Deuteranopia (green-blind)
#1A4786
Tritanopia (blue-blind)
#6C3451
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1b88;
/* rgb */ color: rgb(110, 27, 136);
/* oklch */ color: oklch(41.2% 0.175 316.4);
Tailwind
colors: {
  custom: {
    50: '#9b62ab',
    500: '#6e1b88',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b88;
$custom-light: #9b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b88",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 285.688,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41171,
    "c": 0.17486,
    "h": 316.4
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#6E1B88
secondary
#60BB44
accent
#EA3E67
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1B88

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

Preview Lab → · Contrast checker → · Palette generator →

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