#4E337D#4E337D

#4E337D is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.2% C 0.121 H 297.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4E337D
RGBrgb(78, 51, 125)
HSLhsl(262, 42%, 35%)
HSVhsv(262, 59%, 49%)
CMYKcmyk(37.6%, 59.2%, 0%, 51%)
CIE-LABlab(28.03, 29.59, -37.84)
CIE-LCHlch(28.03, 48.03, 308.02°)
OKLaboklab(39.2% 0.0555 -0.1073)
OKLCHoklch(39.2% 0.121 297.3)
XYZxyz(8.0265, 5.4679, 20.0306)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E337D #627D33
analogous
#333D7D #4E337D #73337D
triadic
#4E337D #7D4E33 #337D4E
tetradic
#4E337D #7D333D #627D33 #337D73
square
#4E337D #7D333D #627D33 #337D73
split-complementary
#4E337D #7D7333 #3D7D33
monochromatic
#181026 #332152 #4E337D #6945A8 #8969C2

Accessibility & contrast

On white

10.03
#4E337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E337D
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E337D#FFFFFF#000000##FFFFFF
##4E337D1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E427F
Deuteranopia (green-blind)
#19417B
Tritanopia (blue-blind)
#434253
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e337d;
/* rgb */ color: rgb(78, 51, 125);
/* oklch */ color: oklch(39.2% 0.121 297.3);
Tailwind
colors: {
  custom: {
    50: '#836ca3',
    500: '#4e337d',
    950: '#000000',
  },
}
SCSS
$custom: #4e337d;
$custom-light: #836ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e337d",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 261.892,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39202,
    "c": 0.12083,
    "h": 297.3
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#4E337D
secondary
#90AA62
accent
#D256A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E337D

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

Preview Lab → · Contrast checker → · Palette generator →

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