#6A2174#6A2174

#6A2174 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 39.7% C 0.148 H 322.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#6A2174
RGBrgb(106, 33, 116)
HSLhsl(293, 56%, 29%)
HSVhsv(293, 72%, 45%)
CMYKcmyk(8.6%, 71.6%, 0%, 54.5%)
CIE-LABlab(27.88, 44.03, -32.16)
CIE-LCHlch(27.88, 54.52, 323.86°)
OKLaboklab(39.74% 0.1175 -0.0897)
OKLCHoklch(39.74% 0.148 322.6)
XYZxyz(9.6398, 5.4134, 17.0567)
Luminance0.0541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2174 #2B7421
analogous
#412174 #6A2174 #742155
triadic
#6A2174 #746A21 #21746A
tetradic
#6A2174 #744121 #2B7421 #215574
square
#6A2174 #744121 #2B7421 #215574
split-complementary
#6A2174 #557421 #217441
monochromatic
#160718 #3E1344 #6A2174 #962FA4 #BA45CA

Accessibility & contrast

On white

10.08
#6A2174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#6A2174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2174
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2174#FFFFFF#000000##FFFFFF
##6A21741.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073C76
Deuteranopia (green-blind)
#2D4572
Tritanopia (blue-blind)
#6C2F48
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #6a2174;
/* rgb */ color: rgb(106, 33, 116);
/* oklch */ color: oklch(39.7% 0.148 322.6);
Tailwind
colors: {
  custom: {
    50: '#97639c',
    500: '#6a2174',
    950: '#000000',
  },
}
SCSS
$custom: #6a2174;
$custom-light: #97639c;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2174",
  "rgb": {
    "r": 106,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 292.771,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3974,
    "c": 0.14779,
    "h": 322.6
  },
  "luminance": 0.05413
}

Semantic roles & 50–950 ramp

primary
#6A2174
secondary
#55A749
accent
#DF495B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #6A2174

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

Preview Lab → · Contrast checker → · Palette generator →

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