#6B1579#6B1579

#6B1579 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.2% C 0.166 H 321.5°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#6B1579
RGBrgb(107, 21, 121)
HSLhsl(292, 70%, 28%)
HSVhsv(292, 83%, 47%)
CMYKcmyk(11.6%, 82.6%, 0%, 52.5%)
CIE-LABlab(26.86, 49.59, -36.97)
CIE-LCHlch(26.86, 61.85, 323.30°)
OKLaboklab(39.15% 0.1301 -0.1036)
OKLCHoklch(39.15% 0.166 321.5)
XYZxyz(9.7824, 5.0432, 18.5436)
Luminance0.0504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B1579 #237915
analogous
#391579 #6B1579 #791555
triadic
#6B1579 #796B15 #15796B
tetradic
#6B1579 #793915 #237915 #155579
square
#6B1579 #793915 #237915 #155579
split-complementary
#6B1579 #557915 #157939
monochromatic
#17051A #3D0C45 #6B1579 #991EAD #C22EDB

Accessibility & contrast

On white

10.46
#6B1579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#6B1579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B1579
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B1579#FFFFFF#000000##FFFFFF
##6B15791.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7C
Deuteranopia (green-blind)
#234277
Tritanopia (blue-blind)
#6C2B48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b1579;
/* rgb */ color: rgb(107, 21, 121);
/* oklch */ color: oklch(39.2% 0.166 321.5);
Tailwind
colors: {
  custom: {
    50: '#995fa0',
    500: '#6b1579',
    950: '#000000',
  },
}
SCSS
$custom: #6b1579;
$custom-light: #995fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b1579",
  "rgb": {
    "r": 107,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 291.6,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.39151,
    "c": 0.16633,
    "h": 321.5
  },
  "luminance": 0.05043
}

Semantic roles & 50–950 ramp

primary
#6B1579
secondary
#4BAF3B
accent
#ED3B54
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050F
muted
#7E797E

Preview Lab

Preview with #6B1579

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

Preview Lab → · Contrast checker → · Palette generator →

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