#6A0F4C#6A0F4C

#6A0F4C is a dark, vivid pink. Relative luminance 0.039; OKLCH L 35.8% C 0.137 H 345.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#6A0F4C
RGBrgb(106, 15, 76)
HSLhsl(320, 75%, 24%)
HSVhsv(320, 86%, 42%)
CMYKcmyk(0%, 85.8%, 28.3%, 58.4%)
CIE-LABlab(23.43, 43.72, -12.90)
CIE-LCHlch(23.43, 45.58, 343.56°)
OKLaboklab(35.82% 0.1329 -0.0343)
OKLCHoklch(35.82% 0.137 345.5)
XYZxyz(7.4195, 3.9285, 7.2036)
Luminance0.0393 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F4C #0F6A2D
analogous
#5A0F6A #6A0F4C #6A0F1E
triadic
#6A0F4C #4C6A0F #0F4C6A
tetradic
#6A0F4C #6A5A0F #0F6A2D #0F1E6A
square
#6A0F4C #6A5A0F #0F6A2D #0F1E6A
split-complementary
#6A0F4C #1E6A0F #0F6A5A
monochromatic
#1B0413 #340726 #6A0F4C #A01772 #D51E99

Accessibility & contrast

On white

11.76
#6A0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A0F4C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F4C#FFFFFF#000000##FFFFFF
##6A0F4C1.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a0f4c;
/* rgb */ color: rgb(106, 15, 76);
/* oklch */ color: oklch(35.8% 0.137 345.5);
Tailwind
colors: {
  custom: {
    50: '#985a7e',
    500: '#6a0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f4c;
$custom-light: #985a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f4c",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 319.78,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.35821,
    "c": 0.13728,
    "h": 345.5
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#6A0F4C
secondary
#32A257
accent
#F27436
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E040A
muted
#7E797C

Preview Lab

Preview with #6A0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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