#4E0348#4E0348

#4E0348 is a dark, vivid purple. Relative luminance 0.022; OKLCH L 29.6% C 0.129 H 332.2°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#4E0348
RGBrgb(78, 3, 72)
HSLhsl(305, 93%, 16%)
HSVhsv(305, 96%, 31%)
CMYKcmyk(0%, 96.2%, 7.7%, 69.4%)
CIE-LABlab(16.27, 39.67, -21.78)
CIE-LCHlch(16.27, 45.26, 331.23°)
OKLaboklab(29.56% 0.1141 -0.0601)
OKLCHoklch(29.56% 0.129 332.2)
XYZxyz(4.3442, 2.1531, 6.3164)
Luminance0.0215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0348 #034E09
analogous
#2E034E #4E0348 #4E0322
triadic
#4E0348 #484E03 #03484E
tetradic
#4E0348 #4E2E03 #034E09 #03224E
square
#4E0348 #4E2E03 #034E09 #03224E
split-complementary
#4E0348 #224E03 #034E2E
monochromatic
#1D011B #1D011B #4E0348 #89057E #C408B5

Accessibility & contrast

On white

14.68
#4E0348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#4E0348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0348
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0348#FFFFFF#000000##FFFFFF
##4E03481.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#1F2C46
Tritanopia (blue-blind)
#520E27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e0348;
/* rgb */ color: rgb(78, 3, 72);
/* oklch */ color: oklch(29.6% 0.129 332.2);
Tailwind
colors: {
  custom: {
    50: '#83517b',
    500: '#4e0348',
    950: '#000000',
  },
}
SCSS
$custom: #4e0348;
$custom-light: #83517b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0348",
  "rgb": {
    "r": 78,
    "g": 3,
    "b": 72
  },
  "hsl": {
    "h": 304.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29555,
    "c": 0.12898,
    "h": 332.2
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#4E0348
secondary
#1E8E27
accent
#FF3A29
background
#F8F4F7
surface
#EFE7EE
border
#CAC3C9
text
#0B0209
muted
#7C787B

Preview Lab

Preview with #4E0348

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

Preview Lab → · Contrast checker → · Palette generator →

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