#6C1F91#6C1F91

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

Color values

HEX#6C1F91
RGBrgb(108, 31, 145)
HSLhsl(281, 65%, 35%)
HSVhsv(281, 79%, 57%)
CMYKcmyk(25.5%, 78.6%, 0%, 43.1%)
CIE-LABlab(29.94, 51.29, -47.00)
CIE-LCHlch(29.94, 69.56, 317.50°)
OKLaboklab(41.91% 0.1188 -0.1331)
OKLCHoklch(41.91% 0.178 311.8)
XYZxyz(11.7842, 6.2128, 27.3610)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C1F91 #44911F
analogous
#331F91 #6C1F91 #911F7D
triadic
#6C1F91 #916C1F #1F916C
tetradic
#6C1F91 #91331F #44911F #1F7D91
square
#6C1F91 #91331F #44911F #1F7D91
split-complementary
#6C1F91 #7D911F #1F9133
monochromatic
#21092C #46145F #6C1F91 #922AC3 #AD51DA

Accessibility & contrast

On white

9.36
#6C1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6C1F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C1F91
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C1F91#FFFFFF#000000##FFFFFF
##6C1F911.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#08488F
Tritanopia (blue-blind)
#673A57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6c1f91;
/* rgb */ color: rgb(108, 31, 145);
/* oklch */ color: oklch(41.9% 0.178 311.8);
Tailwind
colors: {
  custom: {
    50: '#9a64b2',
    500: '#6c1f91',
    950: '#000000',
  },
}
SCSS
$custom: #6c1f91;
$custom-light: #9a64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6c1f91",
  "rgb": {
    "r": 108,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 280.526,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41912,
    "c": 0.17839,
    "h": 311.8
  },
  "luminance": 0.06212
}

Semantic roles & 50–950 ramp

primary
#6C1F91
secondary
#73BD4F
accent
#E84076
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6C1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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