#6E2157#6E2157

#6E2157 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.7% C 0.126 H 341.7°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#6E2157
RGBrgb(110, 33, 87)
HSLhsl(318, 54%, 28%)
HSVhsv(318, 70%, 43%)
CMYKcmyk(0%, 70%, 20.9%, 56.9%)
CIE-LABlab(26.99, 39.97, -14.70)
CIE-LCHlch(26.99, 42.59, 339.81°)
OKLaboklab(38.72% 0.1195 -0.0394)
OKLCHoklch(38.72% 0.126 341.7)
XYZxyz(8.6948, 5.0917, 9.5398)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2157 #216E38
analogous
#5E216E #6E2157 #6E2130
triadic
#6E2157 #576E21 #21576E
tetradic
#6E2157 #6E5E21 #216E38 #21306E
square
#6E2157 #6E5E21 #216E38 #21306E
split-complementary
#6E2157 #306E21 #216E5E
monochromatic
#180713 #3F1332 #6E2157 #9D2F7C #C7439F

Accessibility & contrast

On white

10.41
#6E2157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#6E2157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E2157
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2157#FFFFFF#000000##FFFFFF
##6E21571.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e2157;
/* rgb */ color: rgb(110, 33, 87);
/* oklch */ color: oklch(38.7% 0.126 341.7);
Tailwind
colors: {
  custom: {
    50: '#9a6386',
    500: '#6e2157',
    950: '#000000',
  },
}
SCSS
$custom: #6e2157;
$custom-light: #9a6386;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2157",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 317.922,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.12582,
    "h": 341.7
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#6E2157
secondary
#49A264
accent
#DD764B
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E050B
muted
#7E7A7C

Preview Lab

Preview with #6E2157

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

Preview Lab → · Contrast checker → · Palette generator →

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