#6F1157#6F1157

#6F1157 is a dark, vivid pink. Relative luminance 0.045; OKLCH L 37.4% C 0.146 H 341.1°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#6F1157
RGBrgb(111, 17, 87)
HSLhsl(315, 73%, 25%)
HSVhsv(315, 85%, 44%)
CMYKcmyk(0%, 84.7%, 21.6%, 56.5%)
CIE-LABlab(25.17, 45.95, -17.52)
CIE-LCHlch(25.17, 49.17, 339.13°)
OKLaboklab(37.43% 0.1379 -0.0472)
OKLCHoklch(37.43% 0.146 341.1)
XYZxyz(8.4766, 4.4694, 9.4313)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F1157 #116F29
analogous
#58116F #6F1157 #6F1128
triadic
#6F1157 #576F11 #11576F
tetradic
#6F1157 #6F5811 #116F29 #11286F
square
#6F1157 #6F5811 #116F29 #11286F
split-complementary
#6F1157 #286F11 #116F58
monochromatic
#1B0415 #3A092D #6F1157 #A41981 #D921AA

Accessibility & contrast

On white

11.09
#6F1157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#6F1157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F1157
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F1157#FFFFFF#000000##FFFFFF
##6F11571.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3259
Deuteranopia (green-blind)
#394155
Tritanopia (blue-blind)
#761433
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #6f1157;
/* rgb */ color: rgb(111, 17, 87);
/* oklch */ color: oklch(37.4% 0.146 341.1);
Tailwind
colors: {
  custom: {
    50: '#9c5c86',
    500: '#6f1157',
    950: '#000000',
  },
}
SCSS
$custom: #6f1157;
$custom-light: #9c5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#6f1157",
  "rgb": {
    "r": 111,
    "g": 17,
    "b": 87
  },
  "hsl": {
    "h": 315.319,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3743,
    "c": 0.14577,
    "h": 341.1
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#6F1157
secondary
#35A652
accent
#F06738
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0F050B
muted
#7E797C

Preview Lab

Preview with #6F1157

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

Preview Lab → · Contrast checker → · Palette generator →

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