#6A1578#6A1578

#6A1578 is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.165 H 321.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#6A1578
RGBrgb(106, 21, 120)
HSLhsl(292, 70%, 28%)
HSVhsv(292, 83%, 47%)
CMYKcmyk(11.7%, 82.5%, 0%, 52.9%)
CIE-LABlab(26.61, 49.19, -36.74)
CIE-LCHlch(26.61, 61.40, 323.25°)
OKLaboklab(38.92% 0.129 -0.103)
OKLCHoklch(38.92% 0.165 321.4)
XYZxyz(9.6018, 4.9571, 18.2167)
Luminance0.0496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1578 #237815
analogous
#381578 #6A1578 #781555
triadic
#6A1578 #786A15 #15786A
tetradic
#6A1578 #783815 #237815 #155578
square
#6A1578 #783815 #237815 #155578
split-complementary
#6A1578 #557815 #157838
monochromatic
#17051A #3C0C44 #6A1578 #981EAC #C22DDA

Accessibility & contrast

On white

10.55
#6A1578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6A1578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1578
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1578#FFFFFF#000000##FFFFFF
##6A15781.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#234276
Tritanopia (blue-blind)
#6B2A47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6a1578;
/* rgb */ color: rgb(106, 21, 120);
/* oklch */ color: oklch(38.9% 0.165 321.4);
Tailwind
colors: {
  custom: {
    50: '#985e9f',
    500: '#6a1578',
    950: '#000000',
  },
}
SCSS
$custom: #6a1578;
$custom-light: #985e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1578",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 120
  },
  "hsl": {
    "h": 291.515,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.16506,
    "h": 321.4
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A1578

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

Preview Lab → · Contrast checker → · Palette generator →

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