#6F1F86#6F1F86

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

Color values

HEX#6F1F86
RGBrgb(111, 31, 134)
HSLhsl(287, 62%, 32%)
HSVhsv(287, 77%, 53%)
CMYKcmyk(17.2%, 76.9%, 0%, 47.5%)
CIE-LABlab(29.62, 49.58, -40.68)
CIE-LCHlch(29.62, 64.13, 320.63°)
OKLaboklab(41.52% 0.1246 -0.1144)
OKLCHoklch(41.52% 0.169 317.4)
XYZxyz(11.3480, 6.0812, 23.1257)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1F86 #36861F
analogous
#3C1F86 #6F1F86 #861F6A
triadic
#6F1F86 #866F1F #1F866F
tetradic
#6F1F86 #863C1F #36861F #1F6A86
square
#6F1F86 #863C1F #36861F #1F6A86
split-complementary
#6F1F86 #6A861F #1F863C
monochromatic
#1D0823 #461454 #6F1F86 #982AB8 #B64AD5

Accessibility & contrast

On white

9.48
#6F1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F1F86
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1F86#FFFFFF#000000##FFFFFF
##6F1F861.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#224884
Tritanopia (blue-blind)
#6E3551
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1f86;
/* rgb */ color: rgb(111, 31, 134);
/* oklch */ color: oklch(41.5% 0.169 317.4);
Tailwind
colors: {
  custom: {
    50: '#9c64aa',
    500: '#6f1f86',
    950: '#000000',
  },
}
SCSS
$custom: #6f1f86;
$custom-light: #9c64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1f86",
  "rgb": {
    "r": 111,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 286.602,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.16917,
    "h": 317.4
  },
  "luminance": 0.06081
}

Semantic roles & 50–950 ramp

primary
#6F1F86
secondary
#62B849
accent
#E54267
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1F86

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

Preview Lab → · Contrast checker → · Palette generator →

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