#6F1996#6F1996

#6F1996 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.190 H 311.9°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6F1996
RGBrgb(111, 25, 150)
HSLhsl(281, 71%, 34%)
HSVhsv(281, 83%, 59%)
CMYKcmyk(26%, 83.3%, 0%, 41.2%)
CIE-LABlab(30.10, 54.93, -49.79)
CIE-LCHlch(30.10, 74.14, 317.81°)
OKLaboklab(42.24% 0.1267 -0.1411)
OKLCHoklch(42.24% 0.19 311.9)
XYZxyz(12.4072, 6.2771, 29.4063)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1996 #409619
analogous
#311996 #6F1996 #96197F
triadic
#6F1996 #966F19 #19966F
tetradic
#6F1996 #963119 #409619 #197F96
square
#6F1996 #963119 #409619 #197F96
split-complementary
#6F1996 #7F9619 #199631
monochromatic
#21082D #481062 #6F1996 #9622CA #B149E1

Accessibility & contrast

On white

9.31
#6F1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6F1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1996
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1996#FFFFFF#000000##FFFFFF
##6F19961.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#6A3959
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f1996;
/* rgb */ color: rgb(111, 25, 150);
/* oklch */ color: oklch(42.2% 0.190 311.9);
Tailwind
colors: {
  custom: {
    50: '#9d62b6',
    500: '#6f1996',
    950: '#000000',
  },
}
SCSS
$custom: #6f1996;
$custom-light: #9d62b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1996",
  "rgb": {
    "r": 111,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 281.28,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4224,
    "c": 0.18965,
    "h": 311.9
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#6F1996
secondary
#6FC249
accent
#EE3A72
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1996

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

Preview Lab → · Contrast checker → · Palette generator →

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