#4E2155#4E2155

#4E2155 is a dark, moderate purple. Relative luminance 0.034; OKLCH L 33.5% C 0.101 H 322.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#4E2155
RGBrgb(78, 33, 85)
HSLhsl(292, 44%, 23%)
HSVhsv(292, 61%, 33%)
CMYKcmyk(8.2%, 61.2%, 0%, 66.7%)
CIE-LABlab(21.44, 29.93, -22.44)
CIE-LCHlch(21.44, 37.40, 323.14°)
OKLaboklab(33.54% 0.0799 -0.0622)
OKLCHoklch(33.54% 0.101 322.1)
XYZxyz(5.3253, 3.3635, 8.9613)
Luminance0.0336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2155 #285521
analogous
#342155 #4E2155 #552142
triadic
#4E2155 #554E21 #21554E
tetradic
#4E2155 #553421 #285521 #214255
square
#4E2155 #553421 #285521 #214255
split-complementary
#4E2155 #425521 #215534
monochromatic
#140916 #261029 #4E2155 #763281 #9F43AD

Accessibility & contrast

On white

12.56
#4E2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#4E2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2155
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2155#FFFFFF#000000##FFFFFF
##4E21551.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183057
Deuteranopia (green-blind)
#273554
Tritanopia (blue-blind)
#4F2837
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4e2155;
/* rgb */ color: rgb(78, 33, 85);
/* oklch */ color: oklch(33.5% 0.101 322.1);
Tailwind
colors: {
  custom: {
    50: '#815f85',
    500: '#4e2155',
    950: '#000000',
  },
}
SCSS
$custom: #4e2155;
$custom-light: #815f85;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2155",
  "rgb": {
    "r": 78,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 291.923,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33542,
    "c": 0.10128,
    "h": 322.1
  },
  "luminance": 0.03363
}

Semantic roles & 50–950 ramp

primary
#4E2155
secondary
#518949
accent
#D45465
background
#F8F5F8
surface
#EFE9EF
border
#CAC5CA
text
#0A050B
muted
#7C797C

Preview Lab

Preview with #4E2155

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

Preview Lab → · Contrast checker → · Palette generator →

#4E2155 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva