#6B1A86#6B1A86

#6B1A86 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.173 H 315.8°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#6B1A86
RGBrgb(107, 26, 134)
HSLhsl(285, 68%, 31%)
HSVhsv(285, 81%, 53%)
CMYKcmyk(20.1%, 80.6%, 0%, 47.5%)
CIE-LABlab(28.34, 50.56, -42.76)
CIE-LCHlch(28.34, 66.22, 319.77°)
OKLaboklab(40.49% 0.1239 -0.1206)
OKLCHoklch(40.49% 0.173 315.8)
XYZxyz(10.7352, 5.5862, 23.0624)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1A86 #35861A
analogous
#351A86 #6B1A86 #861A6B
triadic
#6B1A86 #866B1A #1A866B
tetradic
#6B1A86 #86351A #35861A #1A6B86
square
#6B1A86 #86351A #35861A #1A6B86
split-complementary
#6B1A86 #6B861A #1A8635
monochromatic
#19061F #421053 #6B1A86 #9424B9 #B440DA

Accessibility & contrast

On white

9.92
#6B1A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#6B1A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1A86
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1A86#FFFFFF#000000##FFFFFF
##6B1A861.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E89
Deuteranopia (green-blind)
#174584
Tritanopia (blue-blind)
#693350
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6b1a86;
/* rgb */ color: rgb(107, 26, 134);
/* oklch */ color: oklch(40.5% 0.173 315.8);
Tailwind
colors: {
  custom: {
    50: '#9961aa',
    500: '#6b1a86',
    950: '#000000',
  },
}
SCSS
$custom: #6b1a86;
$custom-light: #9961aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1a86",
  "rgb": {
    "r": 107,
    "g": 26,
    "b": 134
  },
  "hsl": {
    "h": 285,
    "s": 67.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40494,
    "c": 0.17295,
    "h": 315.8
  },
  "luminance": 0.05586
}

Semantic roles & 50–950 ramp

primary
#6B1A86
secondary
#60B942
accent
#EA3D69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1A86

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

Preview Lab → · Contrast checker → · Palette generator →

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