#6A2579#6A2579

#6A2579 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.5% C 0.147 H 320.0°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6A2579
RGBrgb(106, 37, 121)
HSLhsl(289, 53%, 31%)
HSVhsv(289, 69%, 47%)
CMYKcmyk(12.4%, 69.4%, 0%, 52.5%)
CIE-LABlab(28.82, 43.29, -33.83)
CIE-LCHlch(28.82, 54.95, 321.99°)
OKLaboklab(40.52% 0.1127 -0.0946)
OKLCHoklch(40.52% 0.147 320)
XYZxyz(10.0562, 5.7683, 18.6691)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2579 #347925
analogous
#402579 #6A2579 #79255E
triadic
#6A2579 #796A25 #25796A
tetradic
#6A2579 #794025 #347925 #255E79
square
#6A2579 #794025 #347925 #255E79
split-complementary
#6A2579 #5E7925 #257940
monochromatic
#18081B #41174A #6A2579 #9333A8 #B34FC9

Accessibility & contrast

On white

9.75
#6A2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6A2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2579
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2579#FFFFFF#000000##FFFFFF
##6A25791.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073F7B
Deuteranopia (green-blind)
#2C4677
Tritanopia (blue-blind)
#6A344C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6a2579;
/* rgb */ color: rgb(106, 37, 121);
/* oklch */ color: oklch(40.5% 0.147 320.0);
Tailwind
colors: {
  custom: {
    50: '#9766a0',
    500: '#6a2579',
    950: '#000000',
  },
}
SCSS
$custom: #6a2579;
$custom-light: #9766a0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2579",
  "rgb": {
    "r": 106,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 289.286,
    "s": 53.165,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40516,
    "c": 0.1471,
    "h": 320
  },
  "luminance": 0.05768
}

Semantic roles & 50–950 ramp

primary
#6A2579
secondary
#5FAB4E
accent
#DD4B65
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #6A2579

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

Preview Lab → · Contrast checker → · Palette generator →

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