#6E1A97#6E1A97

#6E1A97 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.189 H 311.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#6E1A97
RGBrgb(110, 26, 151)
HSLhsl(280, 71%, 35%)
HSVhsv(280, 83%, 59%)
CMYKcmyk(27.2%, 82.8%, 0%, 40.8%)
CIE-LABlab(30.13, 54.65, -50.37)
CIE-LCHlch(30.13, 74.32, 317.34°)
OKLaboklab(42.25% 0.1243 -0.1429)
OKLCHoklch(42.25% 0.189 311)
XYZxyz(12.3846, 6.2885, 29.8335)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A97 #43971A
analogous
#301A97 #6E1A97 #971A82
triadic
#6E1A97 #976E1A #1A976E
tetradic
#6E1A97 #97301A #43971A #1A8297
square
#6E1A97 #97301A #43971A #1A8297
split-complementary
#6E1A97 #82971A #1A9730
monochromatic
#22082F #481163 #6E1A97 #9423CB #AF4BE0

Accessibility & contrast

On white

9.30
#6E1A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6E1A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A97
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A97#FFFFFF#000000##FFFFFF
##6E1A971.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#683B5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1a97;
/* rgb */ color: rgb(110, 26, 151);
/* oklch */ color: oklch(42.3% 0.189 311.0);
Tailwind
colors: {
  custom: {
    50: '#9c63b6',
    500: '#6e1a97',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a97;
$custom-light: #9c63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a97",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 280.32,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42252,
    "c": 0.18939,
    "h": 311
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#6E1A97
secondary
#72C24B
accent
#ED3A75
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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