#6F1F87#6F1F87

#6F1F87 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.170 H 317.0°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#6F1F87
RGBrgb(111, 31, 135)
HSLhsl(286, 63%, 33%)
HSVhsv(286, 77%, 53%)
CMYKcmyk(17.8%, 77%, 0%, 47.1%)
CIE-LABlab(29.69, 49.79, -41.19)
CIE-LCHlch(29.69, 64.62, 320.40°)
OKLaboklab(41.6% 0.1245 -0.1159)
OKLCHoklch(41.6% 0.17 317)
XYZxyz(11.4181, 6.1092, 23.4947)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F87 #37871F
analogous
#3B1F87 #6F1F87 #871F6B
triadic
#6F1F87 #876F1F #1F876F
tetradic
#6F1F87 #873B1F #37871F #1F6B87
square
#6F1F87 #873B1F #37871F #1F6B87
split-complementary
#6F1F87 #6B871F #1F873B
monochromatic
#1D0823 #461455 #6F1F87 #982AB9 #B64BD6

Accessibility & contrast

On white

9.45
#6F1F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#6F1F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F87
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F87#FFFFFF#000000##FFFFFF
##6F1F871.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418A
Deuteranopia (green-blind)
#214885
Tritanopia (blue-blind)
#6E3552
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1f87;
/* rgb */ color: rgb(111, 31, 135);
/* oklch */ color: oklch(41.6% 0.170 317.0);
Tailwind
colors: {
  custom: {
    50: '#9c64ab',
    500: '#6f1f87',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f87;
$custom-light: #9c64ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f87",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 286.154,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.1701,
    "h": 317
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#6F1F87
secondary
#63B84A
accent
#E64268
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1F87

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

Preview Lab → · Contrast checker → · Palette generator →

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