#6F1A91#6F1A91

#6F1A91 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.184 H 313.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#6F1A91
RGBrgb(111, 26, 145)
HSLhsl(283, 70%, 34%)
HSVhsv(283, 82%, 57%)
CMYKcmyk(23.4%, 82.1%, 0%, 43.1%)
CIE-LABlab(29.82, 53.58, -47.17)
CIE-LCHlch(29.82, 71.38, 318.64°)
OKLaboklab(41.92% 0.1271 -0.1335)
OKLCHoklch(41.92% 0.184 313.6)
XYZxyz(12.0349, 6.1630, 27.3382)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1A91 #3C911A
analogous
#331A91 #6F1A91 #911A77
triadic
#6F1A91 #916F1A #1A916F
tetradic
#6F1A91 #91331A #3C911A #1A7791
square
#6F1A91 #91331A #3C911A #1A7791
split-complementary
#6F1A91 #77911A #1A9133
monochromatic
#200729 #47115D #6F1A91 #9723C5 #B347DE

Accessibility & contrast

On white

9.41
#6F1A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#6F1A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1A91
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1A91#FFFFFF#000000##FFFFFF
##6F1A911.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#09488F
Tritanopia (blue-blind)
#6B3856
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #6f1a91;
/* rgb */ color: rgb(111, 26, 145);
/* oklch */ color: oklch(41.9% 0.184 313.6);
Tailwind
colors: {
  custom: {
    50: '#9d62b2',
    500: '#6f1a91',
    950: '#000000',
  },
}
SCSS
$custom: #6f1a91;
$custom-light: #9d62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1a91",
  "rgb": {
    "r": 111,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 282.857,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41922,
    "c": 0.18427,
    "h": 313.6
  },
  "luminance": 0.06163
}

Semantic roles & 50–950 ramp

primary
#6F1A91
secondary
#6AC047
accent
#EC3B6E
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6F1A91

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

Preview Lab → · Contrast checker → · Palette generator →

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