#4E2F58#4E2F58

#4E2F58 is a dark, moderate purple. Relative luminance 0.044; OKLCH L 36.1% C 0.078 H 317.6°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#4E2F58
RGBrgb(78, 47, 88)
HSLhsl(285, 30%, 26%)
HSVhsv(285, 47%, 35%)
CMYKcmyk(11.4%, 46.6%, 0%, 65.5%)
CIE-LABlab(24.82, 22.25, -19.13)
CIE-LCHlch(24.82, 29.34, 319.31°)
OKLaboklab(36.1% 0.0578 -0.0528)
OKLCHoklch(36.1% 0.078 317.6)
XYZxyz(5.9196, 4.3575, 9.7599)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2F58 #39582F
analogous
#3A2F58 #4E2F58 #582F4E
triadic
#4E2F58 #584E2F #2F584E
tetradic
#4E2F58 #583A2F #39582F #2F4E58
square
#4E2F58 #583A2F #39582F #2F4E58
split-complementary
#4E2F58 #4E582F #2F583A
monochromatic
#120B14 #2B1A30 #4E2F58 #714480 #945AA7

Accessibility & contrast

On white

11.22
#4E2F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4E2F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2F58
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2F58#FFFFFF#000000##FFFFFF
##4E2F581.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283959
Deuteranopia (green-blind)
#313C57
Tritanopia (blue-blind)
#4E343F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e2f58;
/* rgb */ color: rgb(78, 47, 88);
/* oklch */ color: oklch(36.1% 0.078 317.6);
Tailwind
colors: {
  custom: {
    50: '#806887',
    500: '#4e2f58',
    950: '#000000',
  },
}
SCSS
$custom: #4e2f58;
$custom-light: #806887;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2f58",
  "rgb": {
    "r": 78,
    "g": 47,
    "b": 88
  },
  "hsl": {
    "h": 285.366,
    "s": 30.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36096,
    "c": 0.07825,
    "h": 317.6
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#4E2F58
secondary
#658A59
accent
#C7617A
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2F58

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

Preview Lab → · Contrast checker → · Palette generator →

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