#6A1580#6A1580

#6A1580 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.172 H 318.0°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6A1580
RGBrgb(106, 21, 128)
HSLhsl(288, 72%, 29%)
HSVhsv(288, 84%, 50%)
CMYKcmyk(17.2%, 83.6%, 0%, 49.8%)
CIE-LABlab(27.18, 50.75, -40.88)
CIE-LCHlch(27.18, 65.17, 321.15°)
OKLaboklab(39.51% 0.1278 -0.1151)
OKLCHoklch(39.51% 0.172 318)
XYZxyz(10.1078, 5.1595, 20.8814)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1580 #2B8015
analogous
#351580 #6A1580 #801561
triadic
#6A1580 #806A15 #15806A
tetradic
#6A1580 #803515 #2B8015 #156180
square
#6A1580 #803515 #2B8015 #156180
split-complementary
#6A1580 #618015 #158035
monochromatic
#16041A #3E0C4B #6A1580 #961EB5 #BA32DD

Accessibility & contrast

On white

10.34
#6A1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6A1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1580
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1580#FFFFFF#000000##FFFFFF
##6A15801.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#1A437E
Tritanopia (blue-blind)
#692E4C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6a1580;
/* rgb */ color: rgb(106, 21, 128);
/* oklch */ color: oklch(39.5% 0.172 318.0);
Tailwind
colors: {
  custom: {
    50: '#985fa5',
    500: '#6a1580',
    950: '#000000',
  },
}
SCSS
$custom: #6a1580;
$custom-light: #985fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1580",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 287.664,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39506,
    "c": 0.17197,
    "h": 318
  },
  "luminance": 0.05159
}

Semantic roles & 50–950 ramp

primary
#6A1580
secondary
#55B53C
accent
#EF395F
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6A1580

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

Preview Lab → · Contrast checker → · Palette generator →

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