#6E1A8E#6E1A8E

#6E1A8E is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.181 H 314.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6E1A8E
RGBrgb(110, 26, 142)
HSLhsl(283, 69%, 33%)
HSVhsv(283, 82%, 56%)
CMYKcmyk(22.5%, 81.7%, 0%, 44.3%)
CIE-LABlab(29.43, 52.77, -45.96)
CIE-LCHlch(29.43, 69.98, 318.95°)
OKLaboklab(41.54% 0.1264 -0.1299)
OKLCHoklch(41.54% 0.181 314.2)
XYZxyz(11.6815, 6.0072, 26.1301)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A8E #3A8E1A
analogous
#341A8E #6E1A8E #8E1A74
triadic
#6E1A8E #8E6E1A #1A8E6E
tetradic
#6E1A8E #8E341A #3A8E1A #1A748E
square
#6E1A8E #8E341A #3A8E1A #1A748E
split-complementary
#6E1A8E #748E1A #1A8E34
monochromatic
#1E0727 #46115A #6E1A8E #9623C2 #B345DD

Accessibility & contrast

On white

9.54
#6E1A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6E1A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A8E
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A8E#FFFFFF#000000##FFFFFF
##6E1A8E1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#6B3655
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1a8e;
/* rgb */ color: rgb(110, 26, 142);
/* oklch */ color: oklch(41.5% 0.181 314.2);
Tailwind
colors: {
  custom: {
    50: '#9c62b0',
    500: '#6e1a8e',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a8e;
$custom-light: #9c62b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a8e",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 283.448,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41544,
    "c": 0.18124,
    "h": 314.2
  },
  "luminance": 0.06007
}

Semantic roles & 50–950 ramp

primary
#6E1A8E
secondary
#67BE45
accent
#EC3C6C
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #6E1A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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