#6A0F57#6A0F57

#6A0F57 is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.4% C 0.145 H 338.6°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#6A0F57
RGBrgb(106, 15, 87)
HSLhsl(313, 75%, 24%)
HSVhsv(313, 86%, 42%)
CMYKcmyk(0%, 85.8%, 17.9%, 58.4%)
CIE-LABlab(23.98, 45.27, -19.44)
CIE-LCHlch(23.98, 49.27, 336.77°)
OKLaboklab(36.39% 0.1346 -0.0528)
OKLCHoklch(36.39% 0.145 338.6)
XYZxyz(7.8352, 4.0947, 9.3927)
Luminance0.0409 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A0F57 #0F6A22
analogous
#4F0F6A #6A0F57 #6A0F29
triadic
#6A0F57 #576A0F #0F576A
tetradic
#6A0F57 #6A4F0F #0F6A22 #0F296A
square
#6A0F57 #6A4F0F #0F6A22 #0F296A
split-complementary
#6A0F57 #296A0F #0F6A4F
monochromatic
#1B0416 #34072B #6A0F57 #A01783 #D51EAF

Accessibility & contrast

On white

11.55
#6A0F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A0F57
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A0F57#FFFFFF#000000##FFFFFF
##6A0F571.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153059
Deuteranopia (green-blind)
#353E55
Tritanopia (blue-blind)
#701433
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a0f57;
/* rgb */ color: rgb(106, 15, 87);
/* oklch */ color: oklch(36.4% 0.145 338.6);
Tailwind
colors: {
  custom: {
    50: '#985b86',
    500: '#6a0f57',
    950: '#000000',
  },
}
SCSS
$custom: #6a0f57;
$custom-light: #985b86;
$custom-dark: #000000;
JSON
{
  "hex": "#6a0f57",
  "rgb": {
    "r": 106,
    "g": 15,
    "b": 87
  },
  "hsl": {
    "h": 312.527,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.36395,
    "c": 0.14456,
    "h": 338.6
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#6A0F57
secondary
#32A24A
accent
#F25D36
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A0F57

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

Preview Lab → · Contrast checker → · Palette generator →

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