#6A0F5A#6A0F5A

#6A0F5A is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.6% C 0.147 H 336.8°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#6A0F5A
RGBrgb(106, 15, 90)
HSLhsl(311, 75%, 24%)
HSVhsv(311, 86%, 42%)
CMYKcmyk(0%, 85.8%, 15.1%, 58.4%)
CIE-LABlab(24.14, 45.72, -21.18)
CIE-LCHlch(24.14, 50.39, 335.15°)
OKLaboklab(36.56% 0.1349 -0.0577)
OKLCHoklch(36.56% 0.147 336.8)
XYZxyz(7.9603, 4.1448, 10.0517)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F5A #0F6A1F
analogous
#4C0F6A #6A0F5A #6A0F2C
triadic
#6A0F5A #5A6A0F #0F5A6A
tetradic
#6A0F5A #6A4C0F #0F6A1F #0F2C6A
square
#6A0F5A #6A4C0F #0F6A1F #0F2C6A
split-complementary
#6A0F5A #2C6A0F #0F6A4C
monochromatic
#1B0417 #34072C #6A0F5A #A01788 #D51EB5

Accessibility & contrast

On white

11.48
#6A0F5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#6A0F5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F5A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F5A#FFFFFF#000000##FFFFFF
##6A0F5A1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315C
Deuteranopia (green-blind)
#343E58
Tritanopia (blue-blind)
#701635
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a0f5a;
/* rgb */ color: rgb(106, 15, 90);
/* oklch */ color: oklch(36.6% 0.147 336.8);
Tailwind
colors: {
  custom: {
    50: '#985b89',
    500: '#6a0f5a',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f5a;
$custom-light: #985b89;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f5a",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 90
  },
  "hsl": {
    "h": 310.549,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36564,
    "c": 0.1467,
    "h": 336.8
  },
  "luminance": 0.04144
}

Semantic roles & 50–950 ramp

primary
#6A0F5A
secondary
#32A246
accent
#F25736
background
#F9F5F8
surface
#F2E9F0
border
#CCC5CB
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A0F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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