#4E347E#4E347E

#4E347E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.4% C 0.121 H 296.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4E347E
RGBrgb(78, 52, 126)
HSLhsl(261, 42%, 35%)
HSVhsv(261, 59%, 49%)
CMYKcmyk(38.1%, 58.7%, 0%, 50.6%)
CIE-LABlab(28.33, 29.26, -37.98)
CIE-LCHlch(28.33, 47.94, 307.61°)
OKLaboklab(39.45% 0.0542 -0.1077)
OKLCHoklch(39.45% 0.121 296.7)
XYZxyz(8.1348, 5.5819, 20.3834)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E347E #647E34
analogous
#343F7E #4E347E #73347E
triadic
#4E347E #7E4E34 #347E4E
tetradic
#4E347E #7E343F #647E34 #347E73
square
#4E347E #7E343F #647E34 #347E73
split-complementary
#4E347E #7E7334 #3F7E34
monochromatic
#181027 #332253 #4E347E #6946A9 #896BC2

Accessibility & contrast

On white

9.92
#4E347E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4E347E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E347E
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E347E#FFFFFF#000000##FFFFFF
##4E347E1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104380
Deuteranopia (green-blind)
#19427C
Tritanopia (blue-blind)
#434353
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e347e;
/* rgb */ color: rgb(78, 52, 126);
/* oklch */ color: oklch(39.4% 0.121 296.7);
Tailwind
colors: {
  custom: {
    50: '#836ca4',
    500: '#4e347e',
    950: '#000000',
  },
}
SCSS
$custom: #4e347e;
$custom-light: #836ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e347e",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 261.081,
    "s": 41.573,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39447,
    "c": 0.1206,
    "h": 296.7
  },
  "luminance": 0.05582
}

Semantic roles & 50–950 ramp

primary
#4E347E
secondary
#91AA64
accent
#D156A6
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E347E

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

Preview Lab → · Contrast checker → · Palette generator →

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