#4E358C#4E358C

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

Color values

HEX#4E358C
RGBrgb(78, 53, 140)
HSLhsl(257, 45%, 38%)
HSVhsv(257, 62%, 55%)
CMYKcmyk(44.3%, 62.1%, 0%, 45.1%)
CIE-LABlab(29.56, 32.75, -44.72)
CIE-LCHlch(29.56, 55.43, 306.22°)
OKLaboklab(40.67% 0.0526 -0.1275)
OKLCHoklch(40.67% 0.138 292.4)
XYZxyz(9.1473, 6.0591, 25.4934)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E358C #738C35
analogous
#35488C #4E358C #79358C
triadic
#4E358C #8C4E35 #358C4E
tetradic
#4E358C #8C3548 #738C35 #358C79
square
#4E358C #8C3548 #738C35 #358C79
split-complementary
#4E358C #8C7935 #488C35
monochromatic
#1D1333 #352460 #4E358C #6746B8 #8B72CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E358C#FFFFFF#000000##FFFFFF
##4E358C1.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)
#00478F
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#3D495B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4e358c;
/* rgb */ color: rgb(78, 53, 140);
/* oklch */ color: oklch(40.7% 0.138 292.4);
Tailwind
colors: {
  custom: {
    50: '#846dae',
    500: '#4e358c',
    950: '#000000',
  },
}
SCSS
$custom: #4e358c;
$custom-light: #846dae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e358c",
  "rgb": {
    "r": 78,
    "g": 53,
    "b": 140
  },
  "hsl": {
    "h": 257.241,
    "s": 45.078,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.13797,
    "h": 292.4
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#4E358C
secondary
#9EB26B
accent
#D553AF
background
#F8F6FA
surface
#F0ECF4
border
#CBC7CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E358C

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

Preview Lab → · Contrast checker → · Palette generator →

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