#4E3058#4E3058

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

Color values

HEX#4E3058
RGBrgb(78, 48, 88)
HSLhsl(285, 29%, 27%)
HSVhsv(285, 45%, 35%)
CMYKcmyk(11.4%, 45.5%, 0%, 65.5%)
CIE-LABlab(25.07, 21.61, -18.74)
CIE-LCHlch(25.07, 28.60, 319.08°)
OKLaboklab(36.28% 0.0561 -0.0517)
OKLCHoklch(36.28% 0.076 317.3)
XYZxyz(5.9600, 4.4384, 9.7734)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3058 #3A5830
analogous
#3A3058 #4E3058 #58304E
triadic
#4E3058 #584E30 #30584E
tetradic
#4E3058 #583A30 #3A5830 #304E58
square
#4E3058 #583A30 #3A5830 #304E58
split-complementary
#4E3058 #4E5830 #30583A
monochromatic
#120B14 #2B1A30 #4E3058 #714680 #945CA6

Accessibility & contrast

On white

11.13
#4E3058 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4E3058 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3058
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3058#FFFFFF#000000##FFFFFF
##4E30581.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A59
Deuteranopia (green-blind)
#313C57
Tritanopia (blue-blind)
#4E353F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4e3058;
/* rgb */ color: rgb(78, 48, 88);
/* oklch */ color: oklch(36.3% 0.076 317.3);
Tailwind
colors: {
  custom: {
    50: '#806987',
    500: '#4e3058',
    950: '#000000',
  },
}
SCSS
$custom: #4e3058;
$custom-light: #806987;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3058",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 88
  },
  "hsl": {
    "h": 285,
    "s": 29.412,
    "l": 26.667
  },
  "oklch": {
    "l": 0.36284,
    "c": 0.07625,
    "h": 317.3
  },
  "luminance": 0.04438
}

Semantic roles & 50–950 ramp

primary
#4E3058
secondary
#66895A
accent
#C6627B
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E3058

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

Preview Lab → · Contrast checker → · Palette generator →

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