#6F1F96#6F1F96

#6F1F96 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.7% C 0.184 H 311.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#6F1F96
RGBrgb(111, 31, 150)
HSLhsl(280, 66%, 35%)
HSVhsv(280, 79%, 59%)
CMYKcmyk(26%, 79.3%, 0%, 41.2%)
CIE-LABlab(30.79, 52.93, -48.68)
CIE-LCHlch(30.79, 71.91, 317.40°)
OKLaboklab(42.72% 0.1219 -0.1379)
OKLCHoklch(42.72% 0.184 311.5)
XYZxyz(12.5495, 6.5618, 29.4537)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F96 #46961F
analogous
#331F96 #6F1F96 #961F81
triadic
#6F1F96 #966F1F #1F966F
tetradic
#6F1F96 #96331F #46961F #1F8196
square
#6F1F96 #96331F #46961F #1F8196
split-complementary
#6F1F96 #81961F #1F9633
monochromatic
#240A31 #491563 #6F1F96 #9529C9 #AF54DC

Accessibility & contrast

On white

9.08
#6F1F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6F1F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F96
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F96#FFFFFF#000000##FFFFFF
##6F1F961.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#024A94
Tritanopia (blue-blind)
#6A3C5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6f1f96;
/* rgb */ color: rgb(111, 31, 150);
/* oklch */ color: oklch(42.7% 0.184 311.5);
Tailwind
colors: {
  custom: {
    50: '#9d65b6',
    500: '#6f1f96',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f96;
$custom-light: #9d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f96",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 280.336,
    "s": 65.746,
    "l": 35.49
  },
  "oklch": {
    "l": 0.42721,
    "c": 0.18406,
    "h": 311.5
  },
  "luminance": 0.06561
}

Semantic roles & 50–950 ramp

primary
#6F1F96
secondary
#76BF52
accent
#E93F77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1F96

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

Preview Lab → · Contrast checker → · Palette generator →

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