#6A104E#6A104E

#6A104E is a dark, vivid pink. Relative luminance 0.040; OKLCH L 36.0% C 0.138 H 344.3°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#6A104E
RGBrgb(106, 16, 78)
HSLhsl(319, 74%, 24%)
HSVhsv(319, 85%, 42%)
CMYKcmyk(0%, 84.9%, 26.4%, 58.4%)
CIE-LABlab(23.62, 43.71, -13.96)
CIE-LCHlch(23.62, 45.89, 342.29°)
OKLaboklab(35.99% 0.1325 -0.0373)
OKLCHoklch(35.99% 0.138 344.3)
XYZxyz(7.5046, 3.9856, 7.5803)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A104E #106A2C
analogous
#59106A #6A104E #6A1021
triadic
#6A104E #4E6A10 #104E6A
tetradic
#6A104E #6A5910 #106A2C #10216A
square
#6A104E #6A5910 #106A2C #10216A
split-complementary
#6A104E #216A10 #106A59
monochromatic
#1B0414 #350827 #6A104E #9F1875 #D4209C

Accessibility & contrast

On white

11.69
#6A104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#6A104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A104E
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A104E#FFFFFF#000000##FFFFFF
##6A104E1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2F50
Deuteranopia (green-blind)
#383E4C
Tritanopia (blue-blind)
#720F2E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6a104e;
/* rgb */ color: rgb(106, 16, 78);
/* oklch */ color: oklch(36.0% 0.138 344.3);
Tailwind
colors: {
  custom: {
    50: '#985b7f',
    500: '#6a104e',
    950: '#000000',
  },
}
SCSS
$custom: #6a104e;
$custom-light: #985b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#6a104e",
  "rgb": {
    "r": 106,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 318.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.1376,
    "h": 344.3
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#6A104E
secondary
#34A256
accent
#F07137
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E040A
muted
#7E797C

Preview Lab

Preview with #6A104E

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

Preview Lab → · Contrast checker → · Palette generator →

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