#4E328B#4E328B

#4E328B is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.1% C 0.141 H 293.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4E328B
RGBrgb(78, 50, 139)
HSLhsl(259, 47%, 37%)
HSVhsv(259, 64%, 55%)
CMYKcmyk(43.9%, 64%, 0%, 45.5%)
CIE-LABlab(28.81, 34.25, -45.31)
CIE-LCHlch(28.81, 56.80, 307.09°)
OKLaboklab(40.1% 0.0563 -0.1293)
OKLCHoklch(40.1% 0.141 293.5)
XYZxyz(8.9414, 5.7647, 25.0627)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E328B #6F8B32
analogous
#32438B #4E328B #7B328B
triadic
#4E328B #8B4E32 #328B4E
tetradic
#4E328B #8B3243 #6F8B32 #328B7B
square
#4E328B #8B3243 #6F8B32 #328B7B
split-complementary
#4E328B #8B7B32 #438B32
monochromatic
#1B1231 #35225E #4E328B #6742B8 #8A6DCA

Accessibility & contrast

On white

9.75
#4E328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4E328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E328B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E328B#FFFFFF#000000##FFFFFF
##4E328B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#004289
Tritanopia (blue-blind)
#3D4659
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4e328b;
/* rgb */ color: rgb(78, 50, 139);
/* oklch */ color: oklch(40.1% 0.141 293.5);
Tailwind
colors: {
  custom: {
    50: '#856bae',
    500: '#4e328b',
    950: '#000000',
  },
}
SCSS
$custom: #4e328b;
$custom-light: #856bae;
$custom-dark: #000000;
JSON
{
  "hex": "#4e328b",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 258.876,
    "s": 47.09,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40096,
    "c": 0.14101,
    "h": 293.5
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#4E328B
secondary
#9AB267
accent
#D751AD
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4E328B

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

Preview Lab → · Contrast checker → · Palette generator →

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