#6A0F56#6A0F56

#6A0F56 is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.3% C 0.144 H 339.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#6A0F56
RGBrgb(106, 15, 86)
HSLhsl(313, 75%, 24%)
HSVhsv(313, 86%, 42%)
CMYKcmyk(0%, 85.8%, 18.9%, 58.4%)
CIE-LABlab(23.93, 45.12, -18.85)
CIE-LCHlch(23.93, 48.90, 337.33°)
OKLaboklab(36.34% 0.1345 -0.0511)
OKLCHoklch(36.34% 0.144 339.2)
XYZxyz(7.7946, 4.0785, 9.1790)
Luminance0.0408 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F56 #0F6A23
analogous
#500F6A #6A0F56 #6A0F28
triadic
#6A0F56 #566A0F #0F566A
tetradic
#6A0F56 #6A500F #0F6A23 #0F286A
square
#6A0F56 #6A500F #0F6A23 #0F286A
split-complementary
#6A0F56 #286A0F #0F6A50
monochromatic
#1B0416 #34072B #6A0F56 #A01781 #D51EAD

Accessibility & contrast

On white

11.57
#6A0F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#6A0F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A0F56
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F56#FFFFFF#000000##FFFFFF
##6A0F561.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163058
Deuteranopia (green-blind)
#353E54
Tritanopia (blue-blind)
#711432
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a0f56;
/* rgb */ color: rgb(106, 15, 86);
/* oklch */ color: oklch(36.3% 0.144 339.2);
Tailwind
colors: {
  custom: {
    50: '#985b86',
    500: '#6a0f56',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f56;
$custom-light: #985b86;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f56",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 313.187,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3634,
    "c": 0.14387,
    "h": 339.2
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#6A0F56
secondary
#32A24B
accent
#F25F36
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A0F56

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

Preview Lab → · Contrast checker → · Palette generator →

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