#6A104C#6A104C

#6A104C is a dark, vivid pink. Relative luminance 0.040; OKLCH L 35.9% C 0.136 H 345.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#6A104C
RGBrgb(106, 16, 76)
HSLhsl(320, 74%, 24%)
HSVhsv(320, 85%, 42%)
CMYKcmyk(0%, 84.9%, 28.3%, 58.4%)
CIE-LABlab(23.53, 43.44, -12.75)
CIE-LCHlch(23.53, 45.27, 343.64°)
OKLaboklab(35.89% 0.1321 -0.0339)
OKLCHoklch(35.89% 0.136 345.6)
XYZxyz(7.4340, 3.9574, 7.2084)
Luminance0.0396 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A104C #106A2E
analogous
#5B106A #6A104C #6A101F
triadic
#6A104C #4C6A10 #104C6A
tetradic
#6A104C #6A5B10 #106A2E #101F6A
square
#6A104C #6A5B10 #106A2E #101F6A
split-complementary
#6A104C #1F6A10 #106A5B
monochromatic
#1B0413 #350826 #6A104C #9F1872 #D42098

Accessibility & contrast

On white

11.72
#6A104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#6A104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A104C
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A104C#FFFFFF#000000##FFFFFF
##6A104C1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2E4E
Deuteranopia (green-blind)
#393D4A
Tritanopia (blue-blind)
#720D2D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6a104c;
/* rgb */ color: rgb(106, 16, 76);
/* oklch */ color: oklch(35.9% 0.136 345.6);
Tailwind
colors: {
  custom: {
    50: '#985b7e',
    500: '#6a104c',
    950: '#000000',
  },
}
SCSS
$custom: #6a104c;
$custom-light: #985b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a104c",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 320,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.35891,
    "c": 0.13635,
    "h": 345.6
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#6A104C
secondary
#34A259
accent
#F07537
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E040A
muted
#7E797C

Preview Lab

Preview with #6A104C

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

Preview Lab → · Contrast checker → · Palette generator →

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