#6A0F52#6A0F52

#6A0F52 is a dark, vivid pink. Relative luminance 0.040; OKLCH L 36.1% C 0.141 H 341.7°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#6A0F52
RGBrgb(106, 15, 82)
HSLhsl(316, 75%, 24%)
HSVhsv(316, 86%, 42%)
CMYKcmyk(0%, 85.8%, 22.6%, 58.4%)
CIE-LABlab(23.72, 44.54, -16.50)
CIE-LCHlch(23.72, 47.50, 339.68°)
OKLaboklab(36.13% 0.134 -0.0444)
OKLCHoklch(36.13% 0.141 341.7)
XYZxyz(7.6379, 4.0158, 8.3539)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F52 #0F6A27
analogous
#540F6A #6A0F52 #6A0F24
triadic
#6A0F52 #526A0F #0F526A
tetradic
#6A0F52 #6A540F #0F6A27 #0F246A
square
#6A0F52 #6A540F #0F6A27 #0F246A
split-complementary
#6A0F52 #246A0F #0F6A54
monochromatic
#1B0415 #340729 #6A0F52 #A0177B #D51EA5

Accessibility & contrast

On white

11.65
#6A0F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A0F52
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F52#FFFFFF#000000##FFFFFF
##6A0F521.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192F54
Deuteranopia (green-blind)
#373E50
Tritanopia (blue-blind)
#711130
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #6a0f52;
/* rgb */ color: rgb(106, 15, 82);
/* oklch */ color: oklch(36.1% 0.141 341.7);
Tailwind
colors: {
  custom: {
    50: '#985b82',
    500: '#6a0f52',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f52;
$custom-light: #985b82;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f52",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 315.824,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36125,
    "c": 0.14114,
    "h": 341.7
  },
  "luminance": 0.04015
}

Semantic roles & 50–950 ramp

primary
#6A0F52
secondary
#32A250
accent
#F26836
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040A
muted
#7E797C

Preview Lab

Preview with #6A0F52

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

Preview Lab → · Contrast checker → · Palette generator →

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