#6F1A86#6F1A86

#6F1A86 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.174 H 317.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6F1A86
RGBrgb(111, 26, 134)
HSLhsl(287, 68%, 31%)
HSVhsv(287, 81%, 53%)
CMYKcmyk(17.2%, 80.6%, 0%, 47.5%)
CIE-LABlab(29.01, 51.34, -41.66)
CIE-LCHlch(29.01, 66.12, 320.94°)
OKLaboklab(41.09% 0.1291 -0.1173)
OKLCHoklch(41.09% 0.174 317.8)
XYZxyz(11.2274, 5.8400, 23.0855)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A86 #31861A
analogous
#391A86 #6F1A86 #861A67
triadic
#6F1A86 #866F1A #1A866F
tetradic
#6F1A86 #86391A #31861A #1A6786
square
#6F1A86 #86391A #31861A #1A6786
split-complementary
#6F1A86 #67861A #1A8639
monochromatic
#1A061F #451053 #6F1A86 #9924B9 #B940DA

Accessibility & contrast

On white

9.69
#6F1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6F1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1A86
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1A86#FFFFFF#000000##FFFFFF
##6F1A861.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#1E4784
Tritanopia (blue-blind)
#6E3250
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6f1a86;
/* rgb */ color: rgb(111, 26, 134);
/* oklch */ color: oklch(41.1% 0.174 317.8);
Tailwind
colors: {
  custom: {
    50: '#9c62aa',
    500: '#6f1a86',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a86;
$custom-light: #9c62aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a86",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 287.222,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41092,
    "c": 0.17445,
    "h": 317.8
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#6F1A86
secondary
#5CB942
accent
#EA3D62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6F1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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