#4E348D#4E348D

#4E348D is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.6% C 0.141 H 292.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4E348D
RGBrgb(78, 52, 141)
HSLhsl(258, 46%, 38%)
HSVhsv(258, 63%, 55%)
CMYKcmyk(44.7%, 63.1%, 0%, 44.7%)
CIE-LABlab(29.41, 33.65, -45.58)
CIE-LCHlch(29.41, 56.65, 306.44°)
OKLaboklab(40.58% 0.0537 -0.1301)
OKLCHoklch(40.58% 0.141 292.4)
XYZxyz(9.1763, 5.9985, 25.8685)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E348D #738D34
analogous
#34468D #4E348D #7A348D
triadic
#4E348D #8D4E34 #348D4E
tetradic
#4E348D #8D3446 #738D34 #348D7A
square
#4E348D #8D3446 #738D34 #348D7A
split-complementary
#4E348D #8D7A34 #468D34
monochromatic
#1D1334 #352460 #4E348D #6744BA #8B71CB

Accessibility & contrast

On white

9.55
#4E348D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4E348D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E348D
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E348D#FFFFFF#000000##FFFFFF
##4E348D1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#3C485B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e348d;
/* rgb */ color: rgb(78, 52, 141);
/* oklch */ color: oklch(40.6% 0.141 292.4);
Tailwind
colors: {
  custom: {
    50: '#856daf',
    500: '#4e348d',
    950: '#000000',
  },
}
SCSS
$custom: #4e348d;
$custom-light: #856daf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e348d",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 141
  },
  "hsl": {
    "h": 257.528,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40578,
    "c": 0.14075,
    "h": 292.4
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#4E348D
secondary
#9EB36A
accent
#D652AF
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E348D

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

Preview Lab → · Contrast checker → · Palette generator →

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