#6E1B8B#6E1B8B

#6E1B8B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.178 H 315.3°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#6E1B8B
RGBrgb(110, 27, 139)
HSLhsl(284, 67%, 33%)
HSVhsv(284, 81%, 55%)
CMYKcmyk(20.9%, 80.6%, 0%, 45.5%)
CIE-LABlab(29.32, 51.82, -44.28)
CIE-LCHlch(29.32, 68.16, 319.49°)
OKLaboklab(41.4% 0.1261 -0.125)
OKLCHoklch(41.4% 0.178 315.3)
XYZxyz(11.4818, 5.9634, 24.9673)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B8B #388B1B
analogous
#361B8B #6E1B8B #8B1B70
triadic
#6E1B8B #8B6E1B #1B8B6E
tetradic
#6E1B8B #8B361B #388B1B #1B708B
square
#6E1B8B #8B361B #388B1B #1B708B
split-complementary
#6E1B8B #708B1B #1B8B36
monochromatic
#1D0725 #451158 #6E1B8B #9725BE #B445DB

Accessibility & contrast

On white

9.58
#6E1B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1B8B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B8B#FFFFFF#000000##FFFFFF
##6E1B8B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#164789
Tritanopia (blue-blind)
#6C3553
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1b8b;
/* rgb */ color: rgb(110, 27, 139);
/* oklch */ color: oklch(41.4% 0.178 315.3);
Tailwind
colors: {
  custom: {
    50: '#9c62ae',
    500: '#6e1b8b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b8b;
$custom-light: #9c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b8b",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 284.464,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41396,
    "c": 0.17758,
    "h": 315.3
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#6E1B8B
secondary
#64BC45
accent
#EA3D6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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