#6D1158#6D1158

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

Color values

HEX#6D1158
RGBrgb(109, 17, 88)
HSLhsl(314, 73%, 25%)
HSVhsv(314, 84%, 43%)
CMYKcmyk(0%, 84.4%, 19.3%, 57.3%)
CIE-LABlab(24.82, 45.60, -18.75)
CIE-LCHlch(24.82, 49.31, 337.65°)
OKLaboklab(37.12% 0.1361 -0.0508)
OKLCHoklch(37.12% 0.145 339.5)
XYZxyz(8.2688, 4.3575, 9.6362)
Luminance0.0436 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D1158 #116D26
analogous
#54116D #6D1158 #6D112A
triadic
#6D1158 #586D11 #11586D
tetradic
#6D1158 #6D5411 #116D26 #112A6D
square
#6D1158 #6D5411 #116D26 #112A6D
split-complementary
#6D1158 #2A6D11 #116D54
monochromatic
#1A0415 #38092D #6D1158 #A21983 #D722AD

Accessibility & contrast

On white

11.22
#6D1158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D1158
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D1158#FFFFFF#000000##FFFFFF
##6D11581.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18325A
Deuteranopia (green-blind)
#374056
Tritanopia (blue-blind)
#741534
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #6d1158;
/* rgb */ color: rgb(109, 17, 88);
/* oklch */ color: oklch(37.1% 0.145 339.5);
Tailwind
colors: {
  custom: {
    50: '#9a5c87',
    500: '#6d1158',
    950: '#000000',
  },
}
SCSS
$custom: #6d1158;
$custom-light: #9a5c87;
$custom-dark: #000000;
JSON
{
  "hex": "#6d1158",
  "rgb": {
    "r": 109,
    "g": 17,
    "b": 88
  },
  "hsl": {
    "h": 313.696,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.37124,
    "c": 0.14522,
    "h": 339.5
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#6D1158
secondary
#35A54F
accent
#F06238
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0E050B
muted
#7E797C

Preview Lab

Preview with #6D1158

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

Preview Lab → · Contrast checker → · Palette generator →

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