#6E1A8D#6E1A8D

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

Color values

HEX#6E1A8D
RGBrgb(110, 26, 141)
HSLhsl(284, 69%, 33%)
HSVhsv(284, 82%, 55%)
CMYKcmyk(22%, 81.6%, 0%, 44.7%)
CIE-LABlab(29.36, 52.57, -45.46)
CIE-LCHlch(29.36, 69.50, 319.15°)
OKLaboklab(41.47% 0.1266 -0.1285)
OKLCHoklch(41.47% 0.18 314.6)
XYZxyz(11.6067, 5.9773, 25.7365)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A8D #398D1A
analogous
#341A8D #6E1A8D #8D1A72
triadic
#6E1A8D #8D6E1A #1A8D6E
tetradic
#6E1A8D #8D341A #398D1A #1A728D
square
#6E1A8D #8D341A #398D1A #1A728D
split-complementary
#6E1A8D #728D1A #1A8D34
monochromatic
#1D0726 #461059 #6E1A8D #9624C1 #B445DD

Accessibility & contrast

On white

9.57
#6E1A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1A8D
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A8D#FFFFFF#000000##FFFFFF
##6E1A8D1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#11478B
Tritanopia (blue-blind)
#6B3654
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6e1a8d;
/* rgb */ color: rgb(110, 26, 141);
/* oklch */ color: oklch(41.5% 0.180 314.6);
Tailwind
colors: {
  custom: {
    50: '#9c62af',
    500: '#6e1a8d',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a8d;
$custom-light: #9c62af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a8d",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 283.826,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41468,
    "c": 0.18035,
    "h": 314.6
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#6E1A8D
secondary
#65BE45
accent
#EC3C6B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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