#6E2158#6E2158

#6E2158 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.127 H 341.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#6E2158
RGBrgb(110, 33, 88)
HSLhsl(317, 54%, 28%)
HSVhsv(317, 70%, 43%)
CMYKcmyk(0%, 70%, 20%, 56.9%)
CIE-LABlab(27.04, 40.13, -15.29)
CIE-LCHlch(27.04, 42.94, 339.14°)
OKLaboklab(38.77% 0.1197 -0.0411)
OKLCHoklch(38.77% 0.127 341.1)
XYZxyz(8.7359, 5.1081, 9.7565)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E2158 #216E37
analogous
#5D216E #6E2158 #6E2131
triadic
#6E2158 #586E21 #21586E
tetradic
#6E2158 #6E5D21 #216E37 #21316E
square
#6E2158 #6E5D21 #216E37 #21316E
split-complementary
#6E2158 #316E21 #216E5D
monochromatic
#180713 #3F1332 #6E2158 #9D2F7E #C743A1

Accessibility & contrast

On white

10.39
#6E2158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E2158
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E2158#FFFFFF#000000##FFFFFF
##6E21581.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#3E4456
Tritanopia (blue-blind)
#752239
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #6e2158;
/* rgb */ color: rgb(110, 33, 88);
/* oklch */ color: oklch(38.8% 0.127 341.1);
Tailwind
colors: {
  custom: {
    50: '#9a6387',
    500: '#6e2158',
    950: '#000000',
  },
}
SCSS
$custom: #6e2158;
$custom-light: #9a6387;
$custom-dark: #000000;
JSON
{
  "hex": "#6e2158",
  "rgb": {
    "r": 110,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 317.143,
    "s": 53.846,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38769,
    "c": 0.12654,
    "h": 341.1
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#6E2158
secondary
#49A262
accent
#DD744B
background
#F9F6F8
surface
#F2EBEF
border
#CCC6CA
text
#0E060B
muted
#7E7A7C

Preview Lab

Preview with #6E2158

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

Preview Lab → · Contrast checker → · Palette generator →

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