#6D1157#6D1157

#6D1157 is a dark, vivid pink. Relative luminance 0.043; OKLCH L 37.1% C 0.145 H 340.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#6D1157
RGBrgb(109, 17, 87)
HSLhsl(314, 73%, 25%)
HSVhsv(314, 84%, 43%)
CMYKcmyk(0%, 84.4%, 20.2%, 57.3%)
CIE-LABlab(24.77, 45.46, -18.16)
CIE-LCHlch(24.77, 48.95, 338.22°)
OKLaboklab(37.07% 0.1359 -0.0491)
OKLCHoklch(37.07% 0.145 340.1)
XYZxyz(8.2277, 4.3411, 9.4196)
Luminance0.0434 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1157 #116D27
analogous
#55116D #6D1157 #6D1129
triadic
#6D1157 #576D11 #11576D
tetradic
#6D1157 #6D5511 #116D27 #11296D
square
#6D1157 #6D5511 #116D27 #11296D
split-complementary
#6D1157 #296D11 #116D55
monochromatic
#1A0415 #38092D #6D1157 #A21981 #D722AC

Accessibility & contrast

On white

11.24
#6D1157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#6D1157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D1157
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1157#FFFFFF#000000##FFFFFF
##6D11571.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193259
Deuteranopia (green-blind)
#384055
Tritanopia (blue-blind)
#741533
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6d1157;
/* rgb */ color: rgb(109, 17, 87);
/* oklch */ color: oklch(37.1% 0.145 340.1);
Tailwind
colors: {
  custom: {
    50: '#9a5c86',
    500: '#6d1157',
    950: '#000000',
  },
}
SCSS
$custom: #6d1157;
$custom-light: #9a5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1157",
  "rgb": {
    "r": 109,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 314.348,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3707,
    "c": 0.14454,
    "h": 340.1
  },
  "luminance": 0.0434
}

Semantic roles & 50–950 ramp

primary
#6D1157
secondary
#35A550
accent
#F06438
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6D1157

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

Preview Lab → · Contrast checker → · Palette generator →

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