#6A1D86#6A1D86

#6A1D86 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.6% C 0.169 H 315.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#6A1D86
RGBrgb(106, 29, 134)
HSLhsl(284, 64%, 32%)
HSVhsv(284, 78%, 53%)
CMYKcmyk(20.9%, 78.4%, 0%, 47.5%)
CIE-LABlab(28.55, 49.29, -42.44)
CIE-LCHlch(28.55, 65.05, 319.27°)
OKLaboklab(40.61% 0.1199 -0.1198)
OKLCHoklch(40.61% 0.169 315)
XYZxyz(10.6856, 5.6645, 23.0801)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1D86 #39861D
analogous
#361D86 #6A1D86 #861D6E
triadic
#6A1D86 #866A1D #1D866A
tetradic
#6A1D86 #86361D #39861D #1D6E86
square
#6A1D86 #86361D #39861D #1D6E86
split-complementary
#6A1D86 #6E861D #1D8636
monochromatic
#1A0721 #421254 #6A1D86 #9228B8 #B046D7

Accessibility & contrast

On white

9.85
#6A1D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#6A1D86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1D86
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1D86#FFFFFF#000000##FFFFFF
##6A1D861.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F89
Deuteranopia (green-blind)
#184584
Tritanopia (blue-blind)
#683551
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6a1d86;
/* rgb */ color: rgb(106, 29, 134);
/* oklch */ color: oklch(40.6% 0.169 315.0);
Tailwind
colors: {
  custom: {
    50: '#9862aa',
    500: '#6a1d86',
    950: '#000000',
  },
}
SCSS
$custom: #6a1d86;
$custom-light: #9862aa;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1d86",
  "rgb": {
    "r": 106,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 284,
    "s": 64.417,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.16948,
    "h": 315
  },
  "luminance": 0.05664
}

Semantic roles & 50–950 ramp

primary
#6A1D86
secondary
#65B946
accent
#E7406D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A1D86

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

Preview Lab → · Contrast checker → · Palette generator →

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