#6F1D87#6F1D87

#6F1D87 is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.4% C 0.172 H 317.2°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#6F1D87
RGBrgb(111, 29, 135)
HSLhsl(286, 65%, 32%)
HSVhsv(286, 79%, 53%)
CMYKcmyk(17.8%, 78.5%, 0%, 47.1%)
CIE-LABlab(29.43, 50.51, -41.60)
CIE-LCHlch(29.43, 65.44, 320.53°)
OKLaboklab(41.42% 0.1263 -0.1171)
OKLCHoklch(41.42% 0.172 317.2)
XYZxyz(11.3674, 6.0080, 23.4779)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1D87 #35871D
analogous
#3A1D87 #6F1D87 #871D6A
triadic
#6F1D87 #876F1D #1D876F
tetradic
#6F1D87 #873A1D #35871D #1D6A87
square
#6F1D87 #873A1D #35871D #1D6A87
split-complementary
#6F1D87 #6A871D #1D873A
monochromatic
#1C0722 #461255 #6F1D87 #9828B9 #B747D7

Accessibility & contrast

On white

9.54
#6F1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#6F1D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1D87
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1D87#FFFFFF#000000##FFFFFF
##6F1D871.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#1F4885
Tritanopia (blue-blind)
#6E3451
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6f1d87;
/* rgb */ color: rgb(111, 29, 135);
/* oklch */ color: oklch(41.4% 0.172 317.2);
Tailwind
colors: {
  custom: {
    50: '#9c63ab',
    500: '#6f1d87',
    950: '#000000',
  },
}
SCSS
$custom: #6f1d87;
$custom-light: #9c63ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1d87",
  "rgb": {
    "r": 111,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 286.415,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41416,
    "c": 0.17228,
    "h": 317.2
  },
  "luminance": 0.06008
}

Semantic roles & 50–950 ramp

primary
#6F1D87
secondary
#60B946
accent
#E84066
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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