#4E2E58#4E2E58

#4E2E58 is a dark, moderate purple. Relative luminance 0.043; OKLCH L 35.9% C 0.080 H 317.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#4E2E58
RGBrgb(78, 46, 88)
HSLhsl(286, 31%, 26%)
HSVhsv(286, 48%, 35%)
CMYKcmyk(11.4%, 47.7%, 0%, 65.5%)
CIE-LABlab(24.57, 22.87, -19.52)
CIE-LCHlch(24.57, 30.07, 319.53°)
OKLaboklab(35.91% 0.0594 -0.0539)
OKLCHoklch(35.91% 0.08 317.8)
XYZxyz(5.8801, 4.2785, 9.7467)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E2E58 #38582E
analogous
#392E58 #4E2E58 #582E4D
triadic
#4E2E58 #584E2E #2E584E
tetradic
#4E2E58 #58392E #38582E #2E4D58
square
#4E2E58 #58392E #38582E #2E4D58
split-complementary
#4E2E58 #4D582E #2E5839
monochromatic
#120B14 #2A1930 #4E2E58 #724380 #9558A8

Accessibility & contrast

On white

11.32
#4E2E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4E2E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E2E58
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E2E58#FFFFFF#000000##FFFFFF
##4E2E581.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273859
Deuteranopia (green-blind)
#303B57
Tritanopia (blue-blind)
#4E343E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4e2e58;
/* rgb */ color: rgb(78, 46, 88);
/* oklch */ color: oklch(35.9% 0.080 317.8);
Tailwind
colors: {
  custom: {
    50: '#806787',
    500: '#4e2e58',
    950: '#000000',
  },
}
SCSS
$custom: #4e2e58;
$custom-light: #806787;
$custom-dark: #000000;
JSON
{
  "hex": "#4e2e58",
  "rgb": {
    "r": 78,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 285.714,
    "s": 31.343,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35911,
    "c": 0.08024,
    "h": 317.8
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#4E2E58
secondary
#648A58
accent
#C86079
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E2E58

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

Preview Lab → · Contrast checker → · Palette generator →

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