#6A1584#6A1584

#6A1584 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 39.8% C 0.175 H 316.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#6A1584
RGBrgb(106, 21, 132)
HSLhsl(286, 73%, 30%)
HSVhsv(286, 84%, 52%)
CMYKcmyk(19.7%, 84.1%, 0%, 48.2%)
CIE-LABlab(27.48, 51.54, -42.91)
CIE-LCHlch(27.48, 67.07, 320.22°)
OKLaboklab(39.81% 0.127 -0.1211)
OKLCHoklch(39.81% 0.175 316.4)
XYZxyz(10.3762, 5.2669, 22.2954)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1584 #2F8415
analogous
#331584 #6A1584 #841566
triadic
#6A1584 #846A15 #15846A
tetradic
#6A1584 #843315 #2F8415 #156684
square
#6A1584 #843315 #2F8415 #156684
split-complementary
#6A1584 #668415 #158433
monochromatic
#15041A #400D4F #6A1584 #941DB9 #B735DF

Accessibility & contrast

On white

10.23
#6A1584 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#6A1584 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1584
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1584#FFFFFF#000000##FFFFFF
##6A15841.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C87
Deuteranopia (green-blind)
#144382
Tritanopia (blue-blind)
#68304E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6a1584;
/* rgb */ color: rgb(106, 21, 132);
/* oklch */ color: oklch(39.8% 0.175 316.4);
Tailwind
colors: {
  custom: {
    50: '#995fa8',
    500: '#6a1584',
    950: '#000000',
  },
}
SCSS
$custom: #6a1584;
$custom-light: #995fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1584",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 132
  },
  "hsl": {
    "h": 285.946,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.39809,
    "c": 0.17548,
    "h": 316.4
  },
  "luminance": 0.05266
}

Semantic roles & 50–950 ramp

primary
#6A1584
secondary
#59B93C
accent
#EF3963
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6A1584

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

Preview Lab → · Contrast checker → · Palette generator →

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