#6A1157#6A1157

#6A1157 is a dark, vivid pink. Relative luminance 0.042; OKLCH L 36.5% C 0.143 H 338.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#6A1157
RGBrgb(106, 17, 87)
HSLhsl(313, 72%, 24%)
HSVhsv(313, 84%, 42%)
CMYKcmyk(0%, 84%, 17.9%, 58.4%)
CIE-LABlab(24.17, 44.72, -19.14)
CIE-LCHlch(24.17, 48.64, 336.83°)
OKLaboklab(36.53% 0.1329 -0.0519)
OKLCHoklch(36.53% 0.143 338.7)
XYZxyz(7.8648, 4.1540, 9.4026)
Luminance0.0415 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A1157 #116A24
analogous
#51116A #6A1157 #6A112B
triadic
#6A1157 #576A11 #11576A
tetradic
#6A1157 #6A5111 #116A24 #112B6A
square
#6A1157 #6A5111 #116A24 #112B6A
split-complementary
#6A1157 #2B6A11 #116A51
monochromatic
#1A0416 #35092C #6A1157 #9F1982 #D322AE

Accessibility & contrast

On white

11.47
#6A1157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A1157
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A1157#FFFFFF#000000##FFFFFF
##6A11571.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a1157;
/* rgb */ color: rgb(106, 17, 87);
/* oklch */ color: oklch(36.5% 0.143 338.7);
Tailwind
colors: {
  custom: {
    50: '#985b86',
    500: '#6a1157',
    950: '#000000',
  },
}
SCSS
$custom: #6a1157;
$custom-light: #985b86;
$custom-dark: #000000;
JSON
{
  "hex": "#6a1157",
  "rgb": {
    "r": 106,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 312.809,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.36533,
    "c": 0.1427,
    "h": 338.7
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#6A1157
secondary
#35A24C
accent
#EF6039
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E040B
muted
#7E797C

Preview Lab

Preview with #6A1157

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

Preview Lab → · Contrast checker → · Palette generator →

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