#4E0346#4E0346

#4E0346 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.4% C 0.127 H 333.6°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#4E0346
RGBrgb(78, 3, 70)
HSLhsl(306, 93%, 16%)
HSVhsv(306, 96%, 31%)
CMYKcmyk(0%, 96.2%, 10.3%, 69.4%)
CIE-LABlab(16.14, 39.34, -20.60)
CIE-LCHlch(16.14, 44.41, 332.36°)
OKLaboklab(29.42% 0.1142 -0.0567)
OKLCHoklch(29.42% 0.127 333.6)
XYZxyz(4.2800, 2.1274, 5.9784)
Luminance0.0213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0346 #034E0B
analogous
#30034E #4E0346 #4E0320
triadic
#4E0346 #464E03 #03464E
tetradic
#4E0346 #4E3003 #034E0B #03204E
square
#4E0346 #4E3003 #034E0B #03204E
split-complementary
#4E0346 #204E03 #034E30
monochromatic
#1D011A #1D011A #4E0346 #89057B #C408B0

Accessibility & contrast

On white

14.73
#4E0346 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0346
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0346#FFFFFF#000000##FFFFFF
##4E03461.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#202C44
Tritanopia (blue-blind)
#520D26
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #4e0346;
/* rgb */ color: rgb(78, 3, 70);
/* oklch */ color: oklch(29.4% 0.127 333.6);
Tailwind
colors: {
  custom: {
    50: '#83517a',
    500: '#4e0346',
    950: '#000000',
  },
}
SCSS
$custom: #4e0346;
$custom-light: #83517a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0346",
  "rgb": {
    "r": 78,
    "g": 3,
    "b": 70
  },
  "hsl": {
    "h": 306.4,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.29422,
    "c": 0.12746,
    "h": 333.6
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#4E0346
secondary
#1E8E2A
accent
#FF4029
background
#F8F4F7
surface
#EFE7ED
border
#CAC3C8
text
#0B0209
muted
#7C787B

Preview Lab

Preview with #4E0346

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

Preview Lab → · Contrast checker → · Palette generator →

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