#4E347D#4E347D

#4E347D is a dark, moderate violet. Relative luminance 0.056; OKLCH L 39.4% C 0.119 H 297.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4E347D
RGBrgb(78, 52, 125)
HSLhsl(261, 41%, 35%)
HSVhsv(261, 58%, 49%)
CMYKcmyk(37.6%, 58.4%, 0%, 51%)
CIE-LABlab(28.26, 28.97, -37.46)
CIE-LCHlch(28.26, 47.35, 307.72°)
OKLaboklab(39.38% 0.0542 -0.1062)
OKLCHoklch(39.38% 0.119 297)
XYZxyz(8.0706, 5.5562, 20.0453)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E347D #637D34
analogous
#343F7D #4E347D #73347D
triadic
#4E347D #7D4E34 #347D4E
tetradic
#4E347D #7D343F #637D34 #347D73
square
#4E347D #7D343F #637D34 #347D73
split-complementary
#4E347D #7D7334 #3F7D34
monochromatic
#181027 #332252 #4E347D #6946A8 #896AC1

Accessibility & contrast

On white

9.95
#4E347D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4E347D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E347D
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E347D#FFFFFF#000000##FFFFFF
##4E347D1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11437F
Deuteranopia (green-blind)
#1B427B
Tritanopia (blue-blind)
#434353
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e347d;
/* rgb */ color: rgb(78, 52, 125);
/* oklch */ color: oklch(39.4% 0.119 297.0);
Tailwind
colors: {
  custom: {
    50: '#836ca3',
    500: '#4e347d',
    950: '#000000',
  },
}
SCSS
$custom: #4e347d;
$custom-light: #836ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#4e347d",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 261.37,
    "s": 41.243,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39375,
    "c": 0.11922,
    "h": 297
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#4E347D
secondary
#90A964
accent
#D157A5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E347D

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

Preview Lab → · Contrast checker → · Palette generator →

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