#4E348C#4E348C

#4E348C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.139 H 292.7°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4E348C
RGBrgb(78, 52, 140)
HSLhsl(258, 46%, 38%)
HSVhsv(258, 63%, 55%)
CMYKcmyk(44.3%, 62.9%, 0%, 45.1%)
CIE-LABlab(29.33, 33.35, -45.08)
CIE-LCHlch(29.33, 56.08, 306.49°)
OKLaboklab(40.5% 0.0538 -0.1286)
OKLCHoklch(40.5% 0.139 292.7)
XYZxyz(9.1022, 5.9689, 25.4784)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E348C #728C34
analogous
#34468C #4E348C #7A348C
triadic
#4E348C #8C4E34 #348C4E
tetradic
#4E348C #8C3446 #728C34 #348C7A
square
#4E348C #8C3446 #728C34 #348C7A
split-complementary
#4E348C #8C7A34 #468C34
monochromatic
#1C1333 #35235F #4E348C #6745B9 #8B70CA

Accessibility & contrast

On white

9.57
#4E348C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4E348C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E348C
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E348C#FFFFFF#000000##FFFFFF
##4E348C1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#00438A
Tritanopia (blue-blind)
#3D485B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4e348c;
/* rgb */ color: rgb(78, 52, 140);
/* oklch */ color: oklch(40.5% 0.139 292.7);
Tailwind
colors: {
  custom: {
    50: '#846dae',
    500: '#4e348c',
    950: '#000000',
  },
}
SCSS
$custom: #4e348c;
$custom-light: #846dae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e348c",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 140
  },
  "hsl": {
    "h": 257.727,
    "s": 45.833,
    "l": 37.647
  },
  "oklch": {
    "l": 0.405,
    "c": 0.13943,
    "h": 292.7
  },
  "luminance": 0.05969
}

Semantic roles & 50–950 ramp

primary
#4E348C
secondary
#9DB26A
accent
#D552AF
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E348C

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

Preview Lab → · Contrast checker → · Palette generator →

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