#6D1580#6D1580

#6D1580 is a dark, vivid purple. Relative luminance 0.053; OKLCH L 40.0% C 0.173 H 319.5°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#6D1580
RGBrgb(109, 21, 128)
HSLhsl(289, 72%, 29%)
HSVhsv(289, 84%, 50%)
CMYKcmyk(14.8%, 83.6%, 0%, 49.8%)
CIE-LABlab(27.70, 51.33, -40.02)
CIE-LCHlch(27.70, 65.08, 322.05°)
OKLaboklab(39.97% 0.1316 -0.1125)
OKLCHoklch(39.97% 0.173 319.5)
XYZxyz(10.4706, 5.3466, 20.8984)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1580 #288015
analogous
#381580 #6D1580 #80155E
triadic
#6D1580 #806D15 #15806D
tetradic
#6D1580 #803815 #288015 #155E80
square
#6D1580 #803815 #288015 #155E80
split-complementary
#6D1580 #5E8015 #158038
monochromatic
#16041A #400C4B #6D1580 #9A1EB5 #BF32DD

Accessibility & contrast

On white

10.15
#6D1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#6D1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1580
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1580#FFFFFF#000000##FFFFFF
##6D15801.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#1F447E
Tritanopia (blue-blind)
#6D2E4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6d1580;
/* rgb */ color: rgb(109, 21, 128);
/* oklch */ color: oklch(40.0% 0.173 319.5);
Tailwind
colors: {
  custom: {
    50: '#9b5fa5',
    500: '#6d1580',
    950: '#000000',
  },
}
SCSS
$custom: #6d1580;
$custom-light: #9b5fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1580",
  "rgb": {
    "r": 109,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 289.346,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.17312,
    "h": 319.5
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#6D1580
secondary
#51B53C
accent
#EF3959
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0F050F
muted
#7E797F

Preview Lab

Preview with #6D1580

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

Preview Lab → · Contrast checker → · Palette generator →

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