#4E0343#4E0343

#4E0343 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.2% C 0.125 H 335.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#4E0343
RGBrgb(78, 3, 67)
HSLhsl(309, 93%, 16%)
HSVhsv(309, 96%, 31%)
CMYKcmyk(0%, 96.2%, 14.1%, 69.4%)
CIE-LABlab(15.96, 38.86, -18.80)
CIE-LCHlch(15.96, 43.17, 334.18°)
OKLaboklab(29.23% 0.1142 -0.0515)
OKLCHoklch(29.23% 0.125 335.7)
XYZxyz(4.1876, 2.0905, 5.4921)
Luminance0.0209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0343 #034E0E
analogous
#33034E #4E0343 #4E031D
triadic
#4E0343 #434E03 #03434E
tetradic
#4E0343 #4E3303 #034E0E #031D4E
square
#4E0343 #4E3303 #034E0E #031D4E
split-complementary
#4E0343 #1D4E03 #034E33
monochromatic
#1D0119 #1D0119 #4E0343 #890576 #C408A8

Accessibility & contrast

On white

14.81
#4E0343 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#4E0343 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0343
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0343#FFFFFF#000000##FFFFFF
##4E03431.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032145
Deuteranopia (green-blind)
#222B41
Tritanopia (blue-blind)
#530A24
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e0343;
/* rgb */ color: rgb(78, 3, 67);
/* oklch */ color: oklch(29.2% 0.125 335.7);
Tailwind
colors: {
  custom: {
    50: '#835177',
    500: '#4e0343',
    950: '#000000',
  },
}
SCSS
$custom: #4e0343;
$custom-light: #835177;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0343",
  "rgb": {
    "r": 78,
    "g": 3,
    "b": 67
  },
  "hsl": {
    "h": 308.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29229,
    "c": 0.12522,
    "h": 335.7
  },
  "luminance": 0.0209
}

Semantic roles & 50–950 ramp

primary
#4E0343
secondary
#1E8E2F
accent
#FF4829
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0208
muted
#7C787B

Preview Lab

Preview with #4E0343

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

Preview Lab → · Contrast checker → · Palette generator →

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