#6E1B85#6E1B85

#6E1B85 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.172 H 317.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#6E1B85
RGBrgb(110, 27, 133)
HSLhsl(287, 66%, 31%)
HSVhsv(287, 80%, 52%)
CMYKcmyk(17.3%, 79.7%, 0%, 47.8%)
CIE-LABlab(28.88, 50.61, -41.24)
CIE-LCHlch(28.88, 65.28, 320.82°)
OKLaboklab(40.95% 0.1271 -0.1161)
OKLCHoklch(40.95% 0.172 317.6)
XYZxyz(11.0554, 5.7928, 22.7215)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B85 #32851B
analogous
#391B85 #6E1B85 #851B67
triadic
#6E1B85 #856E1B #1B856E
tetradic
#6E1B85 #85391B #32851B #1B6785
square
#6E1B85 #85391B #32851B #1B6785
split-complementary
#6E1B85 #67851B #1B8539
monochromatic
#1A061F #441152 #6E1B85 #9825B8 #B842D9

Accessibility & contrast

On white

9.73
#6E1B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E1B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B85
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B85#FFFFFF#000000##FFFFFF
##6E1B851.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#1E4783
Tritanopia (blue-blind)
#6D3350
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1b85;
/* rgb */ color: rgb(110, 27, 133);
/* oklch */ color: oklch(40.9% 0.172 317.6);
Tailwind
colors: {
  custom: {
    50: '#9b62a9',
    500: '#6e1b85',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b85;
$custom-light: #9b62a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b85",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 286.981,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4095,
    "c": 0.17217,
    "h": 317.6
  },
  "luminance": 0.05792
}

Semantic roles & 50–950 ramp

primary
#6E1B85
secondary
#5DB844
accent
#E93F64
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1B85

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

Preview Lab → · Contrast checker → · Palette generator →

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