#6F1F85#6F1F85

#6F1F85 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.168 H 317.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#6F1F85
RGBrgb(111, 31, 133)
HSLhsl(287, 62%, 32%)
HSVhsv(287, 77%, 52%)
CMYKcmyk(16.5%, 76.7%, 0%, 47.8%)
CIE-LABlab(29.55, 49.38, -40.17)
CIE-LCHlch(29.55, 63.65, 320.87°)
OKLaboklab(41.45% 0.1247 -0.1129)
OKLCHoklch(41.45% 0.168 317.8)
XYZxyz(11.2786, 6.0534, 22.7601)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F85 #35851F
analogous
#3C1F85 #6F1F85 #851F68
triadic
#6F1F85 #856F1F #1F856F
tetradic
#6F1F85 #853C1F #35851F #1F6885
square
#6F1F85 #853C1F #35851F #1F6885
split-complementary
#6F1F85 #68851F #1F853C
monochromatic
#1C0822 #461353 #6F1F85 #982BB7 #B74AD5

Accessibility & contrast

On white

9.50
#6F1F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#6F1F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1F85
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F85#FFFFFF#000000##FFFFFF
##6F1F851.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#234883
Tritanopia (blue-blind)
#6E3451
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1f85;
/* rgb */ color: rgb(111, 31, 133);
/* oklch */ color: oklch(41.5% 0.168 317.8);
Tailwind
colors: {
  custom: {
    50: '#9c64a9',
    500: '#6f1f85',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f85;
$custom-light: #9c64a9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f85",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 287.059,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41452,
    "c": 0.16825,
    "h": 317.8
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#6F1F85
secondary
#60B749
accent
#E54366
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1F85

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

Preview Lab → · Contrast checker → · Palette generator →

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