#4E348A#4E348A

#4E348A is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.3% C 0.137 H 293.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4E348A
RGBrgb(78, 52, 138)
HSLhsl(258, 45%, 37%)
HSVhsv(258, 62%, 54%)
CMYKcmyk(43.5%, 62.3%, 0%, 45.9%)
CIE-LABlab(29.19, 32.76, -44.09)
CIE-LCHlch(29.19, 54.93, 306.62°)
OKLaboklab(40.34% 0.0539 -0.1257)
OKLCHoklch(40.34% 0.137 293.2)
XYZxyz(8.9561, 5.9104, 24.7088)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E348A #708A34
analogous
#34458A #4E348A #79348A
triadic
#4E348A #8A4E34 #348A4E
tetradic
#4E348A #8A3445 #708A34 #348A79
square
#4E348A #8A3445 #708A34 #348A79
split-complementary
#4E348A #8A7934 #458A34
monochromatic
#1C1331 #35235E #4E348A #6745B6 #8B6FC9

Accessibility & contrast

On white

9.62
#4E348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4E348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E348A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E348A#FFFFFF#000000##FFFFFF
##4E348A1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#004388
Tritanopia (blue-blind)
#3E475A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e348a;
/* rgb */ color: rgb(78, 52, 138);
/* oklch */ color: oklch(40.3% 0.137 293.2);
Tailwind
colors: {
  custom: {
    50: '#846dad',
    500: '#4e348a',
    950: '#000000',
  },
}
SCSS
$custom: #4e348a;
$custom-light: #846dad;
$custom-dark: #000000;
JSON
{
  "hex": "#4e348a",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 258.14,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40344,
    "c": 0.13677,
    "h": 293.2
  },
  "luminance": 0.05911
}

Semantic roles & 50–950 ramp

primary
#4E348A
secondary
#9BB169
accent
#D553AE
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E348A

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

Preview Lab → · Contrast checker → · Palette generator →

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