#6B1A91#6B1A91

#6B1A91 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.183 H 311.7°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#6B1A91
RGBrgb(107, 26, 145)
HSLhsl(281, 70%, 34%)
HSVhsv(281, 82%, 57%)
CMYKcmyk(26.2%, 82.1%, 0%, 43.1%)
CIE-LABlab(29.18, 52.85, -48.24)
CIE-LCHlch(29.18, 71.56, 317.62°)
OKLaboklab(41.35% 0.1216 -0.1367)
OKLCHoklch(41.35% 0.183 311.7)
XYZxyz(11.5427, 5.9092, 27.3151)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A91 #40911A
analogous
#2F1A91 #6B1A91 #911A7B
triadic
#6B1A91 #916B1A #1A916B
tetradic
#6B1A91 #912F1A #40911A #1A7B91
square
#6B1A91 #912F1A #40911A #1A7B91
split-complementary
#6B1A91 #7B911A #1A912F
monochromatic
#1E0729 #45115D #6B1A91 #9123C5 #AE47DE

Accessibility & contrast

On white

9.63
#6B1A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6B1A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A91
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A91#FFFFFF#000000##FFFFFF
##6B1A911.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#663856
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6b1a91;
/* rgb */ color: rgb(107, 26, 145);
/* oklch */ color: oklch(41.3% 0.183 311.7);
Tailwind
colors: {
  custom: {
    50: '#9a62b2',
    500: '#6b1a91',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a91;
$custom-light: #9a62b2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a91",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 145
  },
  "hsl": {
    "h": 280.84,
    "s": 69.591,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41346,
    "c": 0.18301,
    "h": 311.7
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#6B1A91
secondary
#6EC047
accent
#EC3B74
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0611
muted
#7E7A80

Preview Lab

Preview with #6B1A91

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

Preview Lab → · Contrast checker → · Palette generator →

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