#6A1156#6A1156

#6A1156 is a dark, vivid pink. Relative luminance 0.041; OKLCH L 36.5% C 0.142 H 339.3°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#6A1156
RGBrgb(106, 17, 86)
HSLhsl(313, 72%, 24%)
HSVhsv(313, 84%, 42%)
CMYKcmyk(0%, 84%, 18.9%, 58.4%)
CIE-LABlab(24.12, 44.57, -18.55)
CIE-LCHlch(24.12, 48.27, 337.40°)
OKLaboklab(36.48% 0.1328 -0.0503)
OKLCHoklch(36.48% 0.142 339.3)
XYZxyz(7.8242, 4.1377, 9.1889)
Luminance0.0414 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1156 #116A25
analogous
#52116A #6A1156 #6A112A
triadic
#6A1156 #566A11 #11566A
tetradic
#6A1156 #6A5211 #116A25 #112A6A
square
#6A1156 #6A5211 #116A25 #112A6A
split-complementary
#6A1156 #2A6A11 #116A52
monochromatic
#1A0415 #35092B #6A1156 #9F1981 #D322AC

Accessibility & contrast

On white

11.49
#6A1156 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1156
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1156#FFFFFF#000000##FFFFFF
##6A11561.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173158
Deuteranopia (green-blind)
#363E54
Tritanopia (blue-blind)
#711533
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #6a1156;
/* rgb */ color: rgb(106, 17, 86);
/* oklch */ color: oklch(36.5% 0.142 339.3);
Tailwind
colors: {
  custom: {
    50: '#985b86',
    500: '#6a1156',
    950: '#000000',
  },
}
SCSS
$custom: #6a1156;
$custom-light: #985b86;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1156",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 86
  },
  "hsl": {
    "h": 313.483,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36478,
    "c": 0.142,
    "h": 339.3
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#6A1156
secondary
#35A24D
accent
#EF6239
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A1156

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

Preview Lab → · Contrast checker → · Palette generator →

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