#6E1B97#6E1B97

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

Color values

HEX#6E1B97
RGBrgb(110, 27, 151)
HSLhsl(280, 70%, 35%)
HSVhsv(280, 82%, 59%)
CMYKcmyk(27.2%, 82.1%, 0%, 40.8%)
CIE-LABlab(30.24, 54.33, -50.19)
CIE-LCHlch(30.24, 73.97, 317.27°)
OKLaboklab(42.33% 0.1235 -0.1424)
OKLCHoklch(42.33% 0.189 310.9)
XYZxyz(12.4072, 6.3335, 29.8411)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B97 #44971B
analogous
#301B97 #6E1B97 #971B82
triadic
#6E1B97 #976E1B #1B976E
tetradic
#6E1B97 #97301B #44971B #1B8297
square
#6E1B97 #97301B #44971B #1B8297
split-complementary
#6E1B97 #82971B #1B9730
monochromatic
#22082F #481263 #6E1B97 #9424CB #AF4DDF

Accessibility & contrast

On white

9.26
#6E1B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6E1B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B97
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B97#FFFFFF#000000##FFFFFF
##6E1B971.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1b97;
/* rgb */ color: rgb(110, 27, 151);
/* oklch */ color: oklch(42.3% 0.189 310.9);
Tailwind
colors: {
  custom: {
    50: '#9c63b6',
    500: '#6e1b97',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b97;
$custom-light: #9c63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b97",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 280.161,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42329,
    "c": 0.1885,
    "h": 310.9
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#6E1B97
secondary
#73C14C
accent
#EC3B76
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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