#6F2157#6F2157

#6F2157 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 38.9% C 0.127 H 342.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#6F2157
RGBrgb(111, 33, 87)
HSLhsl(318, 54%, 28%)
HSVhsv(318, 70%, 44%)
CMYKcmyk(0%, 70.3%, 21.6%, 56.5%)
CIE-LABlab(27.18, 40.27, -14.41)
CIE-LCHlch(27.18, 42.77, 340.31°)
OKLaboklab(38.89% 0.1206 -0.0386)
OKLCHoklch(38.89% 0.127 342.3)
XYZxyz(8.8200, 5.1562, 9.5457)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2157 #216F39
analogous
#60216F #6F2157 #6F2130
triadic
#6F2157 #576F21 #21576F
tetradic
#6F2157 #6F6021 #216F39 #21306F
square
#6F2157 #6F6021 #216F39 #21306F
split-complementary
#6F2157 #306F21 #216F60
monochromatic
#180712 #401332 #6F2157 #9E2F7C #C7439F

Accessibility & contrast

On white

10.34
#6F2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#6F2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2157
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2157#FFFFFF#000000##FFFFFF
##6F21571.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#3F4555
Tritanopia (blue-blind)
#762239
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f2157;
/* rgb */ color: rgb(111, 33, 87);
/* oklch */ color: oklch(38.9% 0.127 342.3);
Tailwind
colors: {
  custom: {
    50: '#9b6386',
    500: '#6f2157',
    950: '#000000',
  },
}
SCSS
$custom: #6f2157;
$custom-light: #9b6386;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2157",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 318.462,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38887,
    "c": 0.1266,
    "h": 342.3
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#6F2157
secondary
#49A365
accent
#DE784A
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6F2157

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

Preview Lab → · Contrast checker → · Palette generator →

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