#6F1B96#6F1B96

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

Color values

HEX#6F1B96
RGBrgb(111, 27, 150)
HSLhsl(281, 69%, 35%)
HSVhsv(281, 82%, 59%)
CMYKcmyk(26%, 82%, 0%, 41.2%)
CIE-LABlab(30.32, 54.30, -49.44)
CIE-LCHlch(30.32, 73.44, 317.68°)
OKLaboklab(42.39% 0.1252 -0.1401)
OKLCHoklch(42.39% 0.188 311.8)
XYZxyz(12.4515, 6.3657, 29.4210)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1B96 #42961B
analogous
#321B96 #6F1B96 #961B7F
triadic
#6F1B96 #966F1B #1B966F
tetradic
#6F1B96 #96321B #42961B #1B7F96
square
#6F1B96 #96321B #42961B #1B7F96
split-complementary
#6F1B96 #7F961B #1B9632
monochromatic
#22082E #491262 #6F1B96 #9524CA #B04DDF

Accessibility & contrast

On white

9.24
#6F1B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1B96
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1B96#FFFFFF#000000##FFFFFF
##6F1B961.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f1b96;
/* rgb */ color: rgb(111, 27, 150);
/* oklch */ color: oklch(42.4% 0.188 311.8);
Tailwind
colors: {
  custom: {
    50: '#9d63b6',
    500: '#6f1b96',
    950: '#000000',
  },
}
SCSS
$custom: #6f1b96;
$custom-light: #9d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1b96",
  "rgb": {
    "r": 111,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 280.976,
    "s": 69.492,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42391,
    "c": 0.18789,
    "h": 311.8
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#6F1B96
secondary
#71C14C
accent
#EC3B74
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1B96

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

Preview Lab → · Contrast checker → · Palette generator →

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