#6F1C96#6F1C96

#6F1C96 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.5% C 0.187 H 311.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6F1C96
RGBrgb(111, 28, 150)
HSLhsl(281, 69%, 35%)
HSVhsv(281, 81%, 59%)
CMYKcmyk(26%, 81.3%, 0%, 41.2%)
CIE-LABlab(30.43, 53.97, -49.26)
CIE-LCHlch(30.43, 73.07, 317.61°)
OKLaboklab(42.47% 0.1244 -0.1396)
OKLCHoklch(42.47% 0.187 311.7)
XYZxyz(12.4748, 6.4124, 29.4288)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1C96 #43961C
analogous
#321C96 #6F1C96 #961C80
triadic
#6F1C96 #966F1C #1C966F
tetradic
#6F1C96 #96321C #43961C #1C8096
square
#6F1C96 #96321C #43961C #1C8096
split-complementary
#6F1C96 #80961C #1C9632
monochromatic
#23092F #491262 #6F1C96 #9526CA #B04EDE

Accessibility & contrast

On white

9.20
#6F1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1C96
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1C96#FFFFFF#000000##FFFFFF
##6F1C961.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#6A3B5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f1c96;
/* rgb */ color: rgb(111, 28, 150);
/* oklch */ color: oklch(42.5% 0.187 311.7);
Tailwind
colors: {
  custom: {
    50: '#9d63b6',
    500: '#6f1c96',
    950: '#000000',
  },
}
SCSS
$custom: #6f1c96;
$custom-light: #9d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1c96",
  "rgb": {
    "r": 111,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 280.82,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4247,
    "c": 0.18697,
    "h": 311.7
  },
  "luminance": 0.06412
}

Semantic roles & 50–950 ramp

primary
#6F1C96
secondary
#72C14D
accent
#EB3C74
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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