#4E0347#4E0347

#4E0347 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.5% C 0.128 H 332.9°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#4E0347
RGBrgb(78, 3, 71)
HSLhsl(306, 93%, 16%)
HSVhsv(306, 96%, 31%)
CMYKcmyk(0%, 96.2%, 9%, 69.4%)
CIE-LABlab(16.21, 39.50, -21.19)
CIE-LCHlch(16.21, 44.83, 331.79°)
OKLaboklab(29.49% 0.1142 -0.0584)
OKLCHoklch(29.49% 0.128 332.9)
XYZxyz(4.3118, 2.1402, 6.1460)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0347 #034E0A
analogous
#2F034E #4E0347 #4E0321
triadic
#4E0347 #474E03 #03474E
tetradic
#4E0347 #4E2F03 #034E0A #03214E
square
#4E0347 #4E2F03 #034E0A #03214E
split-complementary
#4E0347 #214E03 #034E2F
monochromatic
#1D011B #1D011B #4E0347 #89057D #C408B2

Accessibility & contrast

On white

14.71
#4E0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0347
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0347#FFFFFF#000000##FFFFFF
##4E03471.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002249
Deuteranopia (green-blind)
#202C45
Tritanopia (blue-blind)
#520D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e0347;
/* rgb */ color: rgb(78, 3, 71);
/* oklch */ color: oklch(29.5% 0.128 332.9);
Tailwind
colors: {
  custom: {
    50: '#83517a',
    500: '#4e0347',
    950: '#000000',
  },
}
SCSS
$custom: #4e0347;
$custom-light: #83517a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0347",
  "rgb": {
    "r": 78,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 305.6,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29488,
    "c": 0.12822,
    "h": 332.9
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#4E0347
secondary
#1E8E29
accent
#FF3D29
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0209
muted
#7C787B

Preview Lab

Preview with #4E0347

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

Preview Lab → · Contrast checker → · Palette generator →

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