#6B2158#6B2158

#6B2158 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.3% C 0.124 H 339.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#6B2158
RGBrgb(107, 33, 88)
HSLhsl(315, 53%, 27%)
HSVhsv(315, 69%, 42%)
CMYKcmyk(0%, 69.2%, 17.8%, 58%)
CIE-LABlab(26.50, 39.24, -16.16)
CIE-LCHlch(26.50, 42.44, 337.61°)
OKLaboklab(38.27% 0.1164 -0.0436)
OKLCHoklch(38.27% 0.124 339.5)
XYZxyz(8.3689, 4.9188, 9.7393)
Luminance0.0492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2158 #216B34
analogous
#59216B #6B2158 #6B2133
triadic
#6B2158 #586B21 #21586B
tetradic
#6B2158 #6B5921 #216B34 #21336B
square
#6B2158 #6B5921 #216B34 #21336B
split-complementary
#6B2158 #336B21 #216B59
monochromatic
#170713 #3C1332 #6B2158 #9A2F7E #C542A3

Accessibility & contrast

On white

10.59
#6B2158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6B2158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2158
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2158#FFFFFF#000000##FFFFFF
##6B21581.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25375A
Deuteranopia (green-blind)
#3C4356
Tritanopia (blue-blind)
#712339
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6b2158;
/* rgb */ color: rgb(107, 33, 88);
/* oklch */ color: oklch(38.3% 0.124 339.5);
Tailwind
colors: {
  custom: {
    50: '#986287',
    500: '#6b2158',
    950: '#000000',
  },
}
SCSS
$custom: #6b2158;
$custom-light: #986287;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2158",
  "rgb": {
    "r": 107,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 315.405,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.38272,
    "c": 0.12425,
    "h": 339.5
  },
  "luminance": 0.04918
}

Semantic roles & 50–950 ramp

primary
#6B2158
secondary
#499F5F
accent
#DC714C
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6B2158

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

Preview Lab → · Contrast checker → · Palette generator →

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