#4E348F#4E348F

#4E348F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 40.7% C 0.143 H 291.9°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4E348F
RGBrgb(78, 52, 143)
HSLhsl(257, 47%, 38%)
HSVhsv(257, 64%, 56%)
CMYKcmyk(45.5%, 63.6%, 0%, 43.9%)
CIE-LABlab(29.56, 34.24, -46.57)
CIE-LCHlch(29.56, 57.80, 306.33°)
OKLaboklab(40.74% 0.0536 -0.133)
OKLCHoklch(40.74% 0.143 291.9)
XYZxyz(9.3264, 6.0586, 26.6593)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E348F #758F34
analogous
#34478F #4E348F #7B348F
triadic
#4E348F #8F4E34 #348F4E
tetradic
#4E348F #8F3447 #758F34 #348F7B
square
#4E348F #8F3447 #758F34 #348F7B
split-complementary
#4E348F #8F7B34 #478F34
monochromatic
#1D1335 #362462 #4E348F #6745BB #8B72CC

Accessibility & contrast

On white

9.49
#4E348F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4E348F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E348F
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E348F#FFFFFF#000000##FFFFFF
##4E348F1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#3B495C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e348f;
/* rgb */ color: rgb(78, 52, 143);
/* oklch */ color: oklch(40.7% 0.143 291.9);
Tailwind
colors: {
  custom: {
    50: '#856db0',
    500: '#4e348f',
    950: '#000000',
  },
}
SCSS
$custom: #4e348f;
$custom-light: #856db0;
$custom-dark: #000000;
JSON
{
  "hex": "#4e348f",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 143
  },
  "hsl": {
    "h": 257.143,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.14339,
    "h": 291.9
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#4E348F
secondary
#9FB46B
accent
#D651B0
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4E348F

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

Preview Lab → · Contrast checker → · Palette generator →

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