#6E1A8A#6E1A8A

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

Color values

HEX#6E1A8A
RGBrgb(110, 26, 138)
HSLhsl(285, 68%, 32%)
HSVhsv(285, 81%, 54%)
CMYKcmyk(20.3%, 81.2%, 0%, 45.9%)
CIE-LABlab(29.13, 51.95, -43.96)
CIE-LCHlch(29.13, 68.06, 319.76°)
OKLaboklab(41.24% 0.1272 -0.1241)
OKLCHoklch(41.24% 0.178 315.7)
XYZxyz(11.3865, 5.8892, 24.5768)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A8A #368A1A
analogous
#361A8A #6E1A8A #8A1A6E
triadic
#6E1A8A #8A6E1A #1A8A6E
tetradic
#6E1A8A #8A361A #368A1A #1A6E8A
square
#6E1A8A #8A361A #368A1A #1A6E8A
split-complementary
#6E1A8A #6E8A1A #1A8A36
monochromatic
#1C0723 #451057 #6E1A8A #9724BD #B543DC

Accessibility & contrast

On white

9.64
#6E1A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1A8A
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A8A#FFFFFF#000000##FFFFFF
##6E1A8A1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1a8a;
/* rgb */ color: rgb(110, 26, 138);
/* oklch */ color: oklch(41.2% 0.178 315.7);
Tailwind
colors: {
  custom: {
    50: '#9c62ad',
    500: '#6e1a8a',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a8a;
$custom-light: #9c62ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a8a",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 285,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4124,
    "c": 0.17765,
    "h": 315.7
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#6E1A8A
secondary
#62BD43
accent
#EB3D68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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