#6A1589#6A1589

#6A1589 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.2% C 0.180 H 314.4°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#6A1589
RGBrgb(106, 21, 137)
HSLhsl(284, 73%, 31%)
HSVhsv(284, 85%, 54%)
CMYKcmyk(22.6%, 84.7%, 0%, 46.3%)
CIE-LABlab(27.86, 52.56, -45.42)
CIE-LCHlch(27.86, 69.46, 319.17°)
OKLaboklab(40.2% 0.1259 -0.1285)
OKLCHoklch(40.2% 0.18 314.4)
XYZxyz(10.7266, 5.4070, 24.1407)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1589 #348915
analogous
#301589 #6A1589 #89156E
triadic
#6A1589 #896A15 #15896A
tetradic
#6A1589 #893015 #348915 #156E89
square
#6A1589 #893015 #348915 #156E89
split-complementary
#6A1589 #6E8915 #158930
monochromatic
#18051F #410D54 #6A1589 #931DBE #B338E0

Accessibility & contrast

On white

10.09
#6A1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1589
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1589#FFFFFF#000000##FFFFFF
##6A15891.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#084487
Tritanopia (blue-blind)
#673351
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a1589;
/* rgb */ color: rgb(106, 21, 137);
/* oklch */ color: oklch(40.2% 0.180 314.4);
Tailwind
colors: {
  custom: {
    50: '#995fac',
    500: '#6a1589',
    950: '#000000',
  },
}
SCSS
$custom: #6a1589;
$custom-light: #995fac;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1589",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 283.966,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40196,
    "c": 0.17988,
    "h": 314.4
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#6A1589
secondary
#5FBD3D
accent
#F03869
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E0510
muted
#7E797F

Preview Lab

Preview with #6A1589

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

Preview Lab → · Contrast checker → · Palette generator →

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