#6C2579#6C2579

#6C2579 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 321.1°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#6C2579
RGBrgb(108, 37, 121)
HSLhsl(291, 53%, 31%)
HSVhsv(291, 69%, 47%)
CMYKcmyk(10.7%, 69.4%, 0%, 52.5%)
CIE-LABlab(29.14, 43.79, -33.31)
CIE-LCHlch(29.14, 55.02, 322.74°)
OKLaboklab(40.81% 0.1152 -0.093)
OKLCHoklch(40.81% 0.148 321.1)
XYZxyz(10.2967, 5.8923, 18.6804)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C2579 #327925
analogous
#422579 #6C2579 #79255C
triadic
#6C2579 #796C25 #25796C
tetradic
#6C2579 #794225 #327925 #255C79
square
#6C2579 #794225 #327925 #255C79
split-complementary
#6C2579 #5C7925 #257942
monochromatic
#18081B #42174A #6C2579 #9633A8 #B64FC9

Accessibility & contrast

On white

9.64
#6C2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#6C2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C2579
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C2579#FFFFFF#000000##FFFFFF
##6C25791.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A407B
Deuteranopia (green-blind)
#2E4777
Tritanopia (blue-blind)
#6D334C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #6c2579;
/* rgb */ color: rgb(108, 37, 121);
/* oklch */ color: oklch(40.8% 0.148 321.1);
Tailwind
colors: {
  custom: {
    50: '#9966a0',
    500: '#6c2579',
    950: '#000000',
  },
}
SCSS
$custom: #6c2579;
$custom-light: #9966a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6c2579",
  "rgb": {
    "r": 108,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 290.714,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.14807,
    "h": 321.1
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#6C2579
secondary
#5DAB4E
accent
#DD4B62
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6C2579

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

Preview Lab → · Contrast checker → · Palette generator →

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