#6E1C97#6E1C97

#6E1C97 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.188 H 310.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6E1C97
RGBrgb(110, 28, 151)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 81%, 59%)
CMYKcmyk(27.2%, 81.5%, 0%, 40.8%)
CIE-LABlab(30.35, 54.00, -50.01)
CIE-LCHlch(30.35, 73.60, 317.20°)
OKLaboklab(42.41% 0.1228 -0.1418)
OKLCHoklch(42.41% 0.188 310.9)
XYZxyz(12.4305, 6.3802, 29.8488)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C97 #45971C
analogous
#301C97 #6E1C97 #971C82
triadic
#6E1C97 #976E1C #1C976E
tetradic
#6E1C97 #97301C #45971C #1C8297
square
#6E1C97 #97301C #45971C #1C8297
split-complementary
#6E1C97 #82971C #1C9730
monochromatic
#230930 #481263 #6E1C97 #9426CB #AF4FDE

Accessibility & contrast

On white

9.23
#6E1C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E1C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1C97
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C97#FFFFFF#000000##FFFFFF
##6E1C971.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.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: #6e1c97;
/* rgb */ color: rgb(110, 28, 151);
/* oklch */ color: oklch(42.4% 0.188 310.9);
Tailwind
colors: {
  custom: {
    50: '#9c63b6',
    500: '#6e1c97',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c97;
$custom-light: #9c63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c97",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42408,
    "c": 0.18759,
    "h": 310.9
  },
  "luminance": 0.0638
}

Semantic roles & 50–950 ramp

primary
#6E1C97
secondary
#74C14E
accent
#EC3C77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1C97

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

Preview Lab → · Contrast checker → · Palette generator →

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