#6B1589#6B1589

#6B1589 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.3% C 0.180 H 314.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#6B1589
RGBrgb(107, 21, 137)
HSLhsl(284, 73%, 31%)
HSVhsv(284, 85%, 54%)
CMYKcmyk(21.9%, 84.7%, 0%, 46.3%)
CIE-LABlab(28.03, 52.73, -45.14)
CIE-LCHlch(28.03, 69.42, 319.44°)
OKLaboklab(40.35% 0.1273 -0.1276)
OKLCHoklch(40.35% 0.18 314.9)
XYZxyz(10.8462, 5.4687, 24.1463)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1589 #338915
analogous
#311589 #6B1589 #89156D
triadic
#6B1589 #896B15 #15896B
tetradic
#6B1589 #893115 #338915 #156D89
square
#6B1589 #893115 #338915 #156D89
split-complementary
#6B1589 #6D8915 #158931
monochromatic
#18051F #420D54 #6B1589 #941DBE #B538E0

Accessibility & contrast

On white

10.03
#6B1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#6B1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1589
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1589#FFFFFF#000000##FFFFFF
##6B15891.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#0B4487
Tritanopia (blue-blind)
#683251
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6b1589;
/* rgb */ color: rgb(107, 21, 137);
/* oklch */ color: oklch(40.3% 0.180 314.9);
Tailwind
colors: {
  custom: {
    50: '#9a60ac',
    500: '#6b1589',
    950: '#000000',
  },
}
SCSS
$custom: #6b1589;
$custom-light: #9a60ac;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1589",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 284.483,
    "s": 73.418,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.18021,
    "h": 314.9
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#6B1589
secondary
#5EBD3D
accent
#F03867
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #6B1589

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

Preview Lab → · Contrast checker → · Palette generator →

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