#6D1F91#6D1F91

#6D1F91 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.179 H 312.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6D1F91
RGBrgb(109, 31, 145)
HSLhsl(281, 65%, 35%)
HSVhsv(281, 79%, 57%)
CMYKcmyk(24.8%, 78.6%, 0%, 43.1%)
CIE-LABlab(30.10, 51.48, -46.74)
CIE-LCHlch(30.10, 69.53, 317.77°)
OKLaboklab(42.05% 0.1202 -0.1323)
OKLCHoklch(42.05% 0.179 312.3)
XYZxyz(11.9066, 6.2759, 27.3667)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1F91 #43911F
analogous
#341F91 #6D1F91 #911F7C
triadic
#6D1F91 #916D1F #1F916D
tetradic
#6D1F91 #91341F #43911F #1F7C91
square
#6D1F91 #91341F #43911F #1F7C91
split-complementary
#6D1F91 #7C911F #1F9134
monochromatic
#21092C #47145F #6D1F91 #932AC3 #AE51DA

Accessibility & contrast

On white

9.31
#6D1F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6D1F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1F91
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1F91#FFFFFF#000000##FFFFFF
##6D1F911.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#0B488F
Tritanopia (blue-blind)
#693A57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6d1f91;
/* rgb */ color: rgb(109, 31, 145);
/* oklch */ color: oklch(42.1% 0.179 312.3);
Tailwind
colors: {
  custom: {
    50: '#9b64b2',
    500: '#6d1f91',
    950: '#000000',
  },
}
SCSS
$custom: #6d1f91;
$custom-light: #9b64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1f91",
  "rgb": {
    "r": 109,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 281.053,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.17872,
    "h": 312.3
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#6D1F91
secondary
#72BD4F
accent
#E84075
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6D1F91

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

Preview Lab → · Contrast checker → · Palette generator →

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