#4E2F5B#4E2F5B

#4E2F5B is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.3% C 0.082 H 315.3°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4E2F5B
RGBrgb(78, 47, 91)
HSLhsl(282, 32%, 27%)
HSVhsv(282, 48%, 36%)
CMYKcmyk(14.3%, 48.4%, 0%, 64.3%)
CIE-LABlab(24.98, 22.97, -20.85)
CIE-LCHlch(24.98, 31.02, 317.77°)
OKLaboklab(36.27% 0.0584 -0.0578)
OKLCHoklch(36.27% 0.082 315.3)
XYZxyz(6.0464, 4.4082, 10.4279)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F5B #3C5B2F
analogous
#382F5B #4E2F5B #5B2F52
triadic
#4E2F5B #5B4E2F #2F5B4E
tetradic
#4E2F5B #5B382F #3C5B2F #2F525B
square
#4E2F5B #5B382F #3C5B2F #2F525B
split-complementary
#4E2F5B #525B2F #2F5B38
monochromatic
#110A14 #2B1A33 #4E2F5B #714483 #925AAA

Accessibility & contrast

On white

11.16
#4E2F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4E2F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F5B
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F5B#FFFFFF#000000##FFFFFF
##4E2F5B1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27395D
Deuteranopia (green-blind)
#2F3C5A
Tritanopia (blue-blind)
#4D3540
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2f5b;
/* rgb */ color: rgb(78, 47, 91);
/* oklch */ color: oklch(36.3% 0.082 315.3);
Tailwind
colors: {
  custom: {
    50: '#816889',
    500: '#4e2f5b',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f5b;
$custom-light: #816889;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f5b",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 282.273,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36266,
    "c": 0.08212,
    "h": 315.3
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#4E2F5B
secondary
#688D59
accent
#C8607F
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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