#6F2158#6F2158

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

Color values

HEX#6F2158
RGBrgb(111, 33, 88)
HSLhsl(318, 54%, 28%)
HSVhsv(318, 70%, 44%)
CMYKcmyk(0%, 70.3%, 20.7%, 56.5%)
CIE-LABlab(27.22, 40.42, -15.00)
CIE-LCHlch(27.22, 43.11, 339.65°)
OKLaboklab(38.94% 0.1208 -0.0402)
OKLCHoklch(38.94% 0.127 341.6)
XYZxyz(8.8611, 5.1726, 9.7624)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2158 #216F38
analogous
#5F216F #6F2158 #6F2131
triadic
#6F2158 #586F21 #21586F
tetradic
#6F2158 #6F5F21 #216F38 #21316F
square
#6F2158 #6F5F21 #216F38 #21316F
split-complementary
#6F2158 #316F21 #216F5F
monochromatic
#180713 #401333 #6F2158 #9E2F7D #C743A0

Accessibility & contrast

On white

10.32
#6F2158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2158
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2158#FFFFFF#000000##FFFFFF
##6F21581.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27385A
Deuteranopia (green-blind)
#3F4556
Tritanopia (blue-blind)
#762239
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6f2158;
/* rgb */ color: rgb(111, 33, 88);
/* oklch */ color: oklch(38.9% 0.127 341.6);
Tailwind
colors: {
  custom: {
    50: '#9b6387',
    500: '#6f2158',
    950: '#000000',
  },
}
SCSS
$custom: #6f2158;
$custom-light: #9b6387;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2158",
  "rgb": {
    "r": 111,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 317.692,
    "s": 54.167,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38936,
    "c": 0.12732,
    "h": 341.6
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#6F2158
secondary
#49A364
accent
#DE764A
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6F2158

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

Preview Lab → · Contrast checker → · Palette generator →

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