#4E347F#4E347F

#4E347F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.5% C 0.122 H 296.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4E347F
RGBrgb(78, 52, 127)
HSLhsl(261, 42%, 35%)
HSVhsv(261, 59%, 50%)
CMYKcmyk(38.6%, 59.1%, 0%, 50.2%)
CIE-LABlab(28.40, 29.55, -38.49)
CIE-LCHlch(28.40, 48.53, 307.51°)
OKLaboklab(39.52% 0.0542 -0.1093)
OKLCHoklch(39.52% 0.122 296.4)
XYZxyz(8.1997, 5.6079, 20.7250)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E347F #657F34
analogous
#34407F #4E347F #73347F
triadic
#4E347F #7F4E34 #347F4E
tetradic
#4E347F #7F3440 #657F34 #347F73
square
#4E347F #7F3440 #657F34 #347F73
split-complementary
#4E347F #7F7334 #407F34
monochromatic
#191028 #332254 #4E347F #6946AA #896BC2

Accessibility & contrast

On white

9.90
#4E347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E347F
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E347F#FFFFFF#000000##FFFFFF
##4E347F1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4381
Deuteranopia (green-blind)
#18427D
Tritanopia (blue-blind)
#424454
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e347f;
/* rgb */ color: rgb(78, 52, 127);
/* oklch */ color: oklch(39.5% 0.122 296.4);
Tailwind
colors: {
  custom: {
    50: '#836ca5',
    500: '#4e347f',
    950: '#000000',
  },
}
SCSS
$custom: #4e347f;
$custom-light: #836ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e347f",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 260.8,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3952,
    "c": 0.12196,
    "h": 296.4
  },
  "luminance": 0.05608
}

Semantic roles & 50–950 ramp

primary
#4E347F
secondary
#92AA64
accent
#D256A7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E347F

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

Preview Lab → · Contrast checker → · Palette generator →

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