#6E1A8B#6E1A8B

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

Color values

HEX#6E1A8B
RGBrgb(110, 26, 139)
HSLhsl(285, 68%, 32%)
HSVhsv(285, 81%, 55%)
CMYKcmyk(20.9%, 81.3%, 0%, 45.5%)
CIE-LABlab(29.21, 52.16, -44.46)
CIE-LCHlch(29.21, 68.54, 319.55°)
OKLaboklab(41.32% 0.127 -0.1255)
OKLCHoklch(41.32% 0.179 315.3)
XYZxyz(11.4592, 5.9183, 24.9598)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A8B #378B1A
analogous
#361A8B #6E1A8B #8B1A6F
triadic
#6E1A8B #8B6E1A #1A8B6E
tetradic
#6E1A8B #8B361A #378B1A #1A6F8B
square
#6E1A8B #8B361A #378B1A #1A6F8B
split-complementary
#6E1A8B #6F8B1A #1A8B36
monochromatic
#1C0724 #451057 #6E1A8B #9724BF #B543DC

Accessibility & contrast

On white

9.62
#6E1A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1A8B
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A8B#FFFFFF#000000##FFFFFF
##6E1A8B1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1a8b;
/* rgb */ color: rgb(110, 26, 139);
/* oklch */ color: oklch(41.3% 0.179 315.3);
Tailwind
colors: {
  custom: {
    50: '#9c62ae',
    500: '#6e1a8b',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a8b;
$custom-light: #9c62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a8b",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 284.602,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.17854,
    "h": 315.3
  },
  "luminance": 0.05918
}

Semantic roles & 50–950 ramp

primary
#6E1A8B
secondary
#63BD44
accent
#EB3C69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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