#6E1C96#6E1C96

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

Color values

HEX#6E1C96
RGBrgb(110, 28, 150)
HSLhsl(280, 69%, 35%)
HSVhsv(280, 81%, 59%)
CMYKcmyk(26.7%, 81.3%, 0%, 41.2%)
CIE-LABlab(30.27, 53.79, -49.52)
CIE-LCHlch(30.27, 73.11, 317.37°)
OKLaboklab(42.33% 0.123 -0.1404)
OKLCHoklch(42.33% 0.187 311.2)
XYZxyz(12.3496, 6.3478, 29.4229)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1C96 #44961C
analogous
#311C96 #6E1C96 #961C81
triadic
#6E1C96 #966E1C #1C966E
tetradic
#6E1C96 #96311C #44961C #1C8196
square
#6E1C96 #96311C #44961C #1C8196
split-complementary
#6E1C96 #81961C #1C9631
monochromatic
#22092F #481262 #6E1C96 #9426CA #AF4EDE

Accessibility & contrast

On white

9.25
#6E1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1C96
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1C96#FFFFFF#000000##FFFFFF
##6E1C961.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#693B5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1c96;
/* rgb */ color: rgb(110, 28, 150);
/* oklch */ color: oklch(42.3% 0.187 311.2);
Tailwind
colors: {
  custom: {
    50: '#9c63b6',
    500: '#6e1c96',
    950: '#000000',
  },
}
SCSS
$custom: #6e1c96;
$custom-light: #9c63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1c96",
  "rgb": {
    "r": 110,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 280.328,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42328,
    "c": 0.18667,
    "h": 311.2
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#6E1C96
secondary
#73C14D
accent
#EB3C76
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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