#6A1574#6A1574

#6A1574 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.6% C 0.162 H 323.2°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#6A1574
RGBrgb(106, 21, 116)
HSLhsl(294, 69%, 27%)
HSVhsv(294, 82%, 45%)
CMYKcmyk(8.6%, 81.9%, 0%, 54.5%)
CIE-LABlab(26.34, 48.44, -34.62)
CIE-LCHlch(26.34, 59.54, 324.44°)
OKLaboklab(38.64% 0.1295 -0.0968)
OKLCHoklch(38.64% 0.162 323.2)
XYZxyz(9.3641, 4.8620, 16.9649)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1574 #1F7415
analogous
#3B1574 #6A1574 #74154F
triadic
#6A1574 #746A15 #15746A
tetradic
#6A1574 #743B15 #1F7415 #154F74
square
#6A1574 #743B15 #1F7415 #154F74
split-complementary
#6A1574 #4F7415 #15743B
monochromatic
#18051A #3B0C40 #6A1574 #991EA8 #C62BD9

Accessibility & contrast

On white

10.65
#6A1574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#6A1574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A1574
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1574#FFFFFF#000000##FFFFFF
##6A15741.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#264272
Tritanopia (blue-blind)
#6C2845
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #6a1574;
/* rgb */ color: rgb(106, 21, 116);
/* oklch */ color: oklch(38.6% 0.162 323.2);
Tailwind
colors: {
  custom: {
    50: '#985e9c',
    500: '#6a1574',
    950: '#000000',
  },
}
SCSS
$custom: #6a1574;
$custom-light: #985e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1574",
  "rgb": {
    "r": 106,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 293.684,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3864,
    "c": 0.16165,
    "h": 323.2
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#6A1574
secondary
#47AA3B
accent
#EC3C4E
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050E
muted
#7E797E

Preview Lab

Preview with #6A1574

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

Preview Lab → · Contrast checker → · Palette generator →

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