#4E3358#4E3358

#4E3358 is a dark, moderate purple. Relative luminance 0.047; OKLCH L 36.9% C 0.070 H 316.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#4E3358
RGBrgb(78, 51, 88)
HSLhsl(284, 27%, 27%)
HSVhsv(284, 42%, 35%)
CMYKcmyk(11.4%, 42%, 0%, 65.5%)
CIE-LABlab(25.84, 19.70, -17.54)
CIE-LCHlch(25.84, 26.38, 318.32°)
OKLaboklab(36.86% 0.051 -0.0483)
OKLCHoklch(36.86% 0.07 316.5)
XYZxyz(6.0869, 4.6921, 9.8156)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3358 #3D5833
analogous
#3C3358 #4E3358 #583350
triadic
#4E3358 #584E33 #33584E
tetradic
#4E3358 #583C33 #3D5833 #335058
square
#4E3358 #583C33 #3D5833 #335058
split-complementary
#4E3358 #505833 #33583C
monochromatic
#110B13 #2C1D31 #4E3358 #70497F #9262A4

Accessibility & contrast

On white

10.83
#4E3358 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#4E3358 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3358
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3358#FFFFFF#000000##FFFFFF
##4E33581.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3B59
Deuteranopia (green-blind)
#343E57
Tritanopia (blue-blind)
#4E3841
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4e3358;
/* rgb */ color: rgb(78, 51, 88);
/* oklch */ color: oklch(36.9% 0.070 316.5);
Tailwind
colors: {
  custom: {
    50: '#806b87',
    500: '#4e3358',
    950: '#000000',
  },
}
SCSS
$custom: #4e3358;
$custom-light: #806b87;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3358",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 88
  },
  "hsl": {
    "h": 283.784,
    "s": 26.619,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36862,
    "c": 0.07018,
    "h": 316.5
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#4E3358
secondary
#6A895E
accent
#C3657E
background
#F7F6F8
surface
#EEEBEF
border
#C9C6CA
text
#0A060B
muted
#7C7A7C

Preview Lab

Preview with #4E3358

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

Preview Lab → · Contrast checker → · Palette generator →

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