#6E1A95#6E1A95

#6E1A95 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.1% C 0.188 H 311.7°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#6E1A95
RGBrgb(110, 26, 149)
HSLhsl(281, 70%, 34%)
HSVhsv(281, 83%, 58%)
CMYKcmyk(26.2%, 82.6%, 0%, 41.6%)
CIE-LABlab(29.97, 54.23, -49.40)
CIE-LCHlch(29.97, 73.36, 317.67°)
OKLaboklab(42.09% 0.1248 -0.14)
OKLCHoklch(42.09% 0.188 311.7)
XYZxyz(12.2236, 6.2240, 28.9854)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A95 #41951A
analogous
#311A95 #6E1A95 #951A7F
triadic
#6E1A95 #956E1A #1A956E
tetradic
#6E1A95 #95311A #41951A #1A7F95
square
#6E1A95 #95311A #41951A #1A7F95
split-complementary
#6E1A95 #7F951A #1A9531
monochromatic
#21082D #481161 #6E1A95 #9423C9 #B04ADF

Accessibility & contrast

On white

9.35
#6E1A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6E1A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A95
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A95#FFFFFF#000000##FFFFFF
##6E1A951.009.352.249.35
#FFFFFF9.351.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#693A59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1a95;
/* rgb */ color: rgb(110, 26, 149);
/* oklch */ color: oklch(42.1% 0.188 311.7);
Tailwind
colors: {
  custom: {
    50: '#9c62b5',
    500: '#6e1a95',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a95;
$custom-light: #9c62b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a95",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 280.976,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42092,
    "c": 0.18757,
    "h": 311.7
  },
  "luminance": 0.06224
}

Semantic roles & 50–950 ramp

primary
#6E1A95
secondary
#70C14A
accent
#ED3B73
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1A95

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

Preview Lab → · Contrast checker → · Palette generator →

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