#6B1580#6B1580

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

Color values

HEX#6B1580
RGBrgb(107, 21, 128)
HSLhsl(288, 72%, 29%)
HSVhsv(288, 84%, 50%)
CMYKcmyk(16.4%, 83.6%, 0%, 49.8%)
CIE-LABlab(27.36, 50.94, -40.59)
CIE-LCHlch(27.36, 65.14, 321.45°)
OKLaboklab(39.66% 0.1291 -0.1142)
OKLCHoklch(39.66% 0.172 318.5)
XYZxyz(10.2273, 5.2211, 20.8870)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1580 #2A8015
analogous
#361580 #6B1580 #801560
triadic
#6B1580 #806B15 #15806B
tetradic
#6B1580 #803615 #2A8015 #156080
square
#6B1580 #803615 #2A8015 #156080
split-complementary
#6B1580 #608015 #158036
monochromatic
#16041A #3F0C4B #6B1580 #971EB5 #BC32DD

Accessibility & contrast

On white

10.27
#6B1580 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#6B1580 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1580
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1580#FFFFFF#000000##FFFFFF
##6B15801.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#1B437E
Tritanopia (blue-blind)
#6A2E4C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #6b1580;
/* rgb */ color: rgb(107, 21, 128);
/* oklch */ color: oklch(39.7% 0.172 318.5);
Tailwind
colors: {
  custom: {
    50: '#995fa5',
    500: '#6b1580',
    950: '#000000',
  },
}
SCSS
$custom: #6b1580;
$custom-light: #995fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1580",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 128
  },
  "hsl": {
    "h": 288.224,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3966,
    "c": 0.17236,
    "h": 318.5
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#6B1580
secondary
#54B53C
accent
#EF395D
background
#F9F5FA
surface
#F2EAF4
border
#CCC6CE
text
#0E050F
muted
#7E797F

Preview Lab

Preview with #6B1580

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

Preview Lab → · Contrast checker → · Palette generator →

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