#6F1A97#6F1A97

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

Color values

HEX#6F1A97
RGBrgb(111, 26, 151)
HSLhsl(281, 71%, 35%)
HSVhsv(281, 83%, 59%)
CMYKcmyk(26.5%, 82.8%, 0%, 40.8%)
CIE-LABlab(30.29, 54.83, -50.11)
CIE-LCHlch(30.29, 74.27, 317.58°)
OKLaboklab(42.39% 0.1257 -0.1421)
OKLCHoklch(42.39% 0.19 311.5)
XYZxyz(12.5098, 6.3530, 29.8394)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A97 #42971A
analogous
#311A97 #6F1A97 #971A81
triadic
#6F1A97 #976F1A #1A976F
tetradic
#6F1A97 #97311A #42971A #1A8197
square
#6F1A97 #97311A #42971A #1A8197
split-complementary
#6F1A97 #81971A #1A9731
monochromatic
#22082F #491163 #6F1A97 #9523CB #B04BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F1A97#FFFFFF#000000##FFFFFF
##6F1A971.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)
#00449A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#6A3A5A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6f1a97;
/* rgb */ color: rgb(111, 26, 151);
/* oklch */ color: oklch(42.4% 0.190 311.5);
Tailwind
colors: {
  custom: {
    50: '#9d63b6',
    500: '#6f1a97',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a97;
$custom-light: #9d63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a97",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 280.8,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42394,
    "c": 0.18968,
    "h": 311.5
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#6F1A97
secondary
#71C24B
accent
#ED3A74
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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