#6A204D#6A204D

#6A204D is a dark, moderate pink. Relative luminance 0.046; OKLCH L 37.5% C 0.117 H 346.8°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#6A204D
RGBrgb(106, 32, 77)
HSLhsl(324, 54%, 27%)
HSVhsv(324, 70%, 42%)
CMYKcmyk(0%, 69.8%, 27.4%, 58.4%)
CIE-LABlab(25.66, 37.69, -10.16)
CIE-LCHlch(25.66, 39.04, 344.91°)
OKLaboklab(37.46% 0.1141 -0.0268)
OKLCHoklch(37.46% 0.117 346.8)
XYZxyz(7.8002, 4.6338, 7.5034)
Luminance0.0463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A204D #206A3D
analogous
#62206A #6A204D #6A2028
triadic
#6A204D #4D6A20 #204D6A
tetradic
#6A204D #6A6220 #206A3D #20286A
square
#6A204D #6A6220 #206A3D #20286A
split-complementary
#6A204D #286A20 #206A62
monochromatic
#180711 #3B122B #6A204D #992E6F #C53F91

Accessibility & contrast

On white

10.90
#6A204D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#6A204D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A204D
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A204D#FFFFFF#000000##FFFFFF
##6A204D1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29354E
Deuteranopia (green-blind)
#3E414B
Tritanopia (blue-blind)
#711E33
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #6a204d;
/* rgb */ color: rgb(106, 32, 77);
/* oklch */ color: oklch(37.5% 0.117 346.8);
Tailwind
colors: {
  custom: {
    50: '#98617e',
    500: '#6a204d',
    950: '#000000',
  },
}
SCSS
$custom: #6a204d;
$custom-light: #98617e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a204d",
  "rgb": {
    "r": 106,
    "g": 32,
    "b": 77
  },
  "hsl": {
    "h": 323.514,
    "s": 53.623,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37462,
    "c": 0.11718,
    "h": 346.8
  },
  "luminance": 0.04633
}

Semantic roles & 50–950 ramp

primary
#6A204D
secondary
#489E6A
accent
#DD844B
background
#F9F6F7
surface
#F2EBEE
border
#CCC6C9
text
#0E050A
muted
#7E7A7C

Preview Lab

Preview with #6A204D

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

Preview Lab → · Contrast checker → · Palette generator →

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