#4E347A#4E347A

#4E347A is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.2% C 0.115 H 298.0°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#4E347A
RGBrgb(78, 52, 122)
HSLhsl(262, 40%, 34%)
HSVhsv(262, 57%, 48%)
CMYKcmyk(36.1%, 57.4%, 0%, 52.2%)
CIE-LABlab(28.06, 28.11, -35.89)
CIE-LCHlch(28.06, 45.59, 308.07°)
OKLaboklab(39.16% 0.0541 -0.1016)
OKLCHoklch(39.16% 0.115 298)
XYZxyz(7.8819, 5.4807, 19.0512)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E347A #607A34
analogous
#343D7A #4E347A #71347A
triadic
#4E347A #7A4E34 #347A4E
tetradic
#4E347A #7A343D #607A34 #347A71
square
#4E347A #7A343D #607A34 #347A71
split-complementary
#4E347A #7A7134 #3D7A34
monochromatic
#170F24 #33224F #4E347A #6946A5 #8969BF

Accessibility & contrast

On white

10.02
#4E347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4E347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E347A
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E347A#FFFFFF#000000##FFFFFF
##4E347A1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16427C
Deuteranopia (green-blind)
#1E4178
Tritanopia (blue-blind)
#444251
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e347a;
/* rgb */ color: rgb(78, 52, 122);
/* oklch */ color: oklch(39.2% 0.115 298.0);
Tailwind
colors: {
  custom: {
    50: '#826ca1',
    500: '#4e347a',
    950: '#000000',
  },
}
SCSS
$custom: #4e347a;
$custom-light: #826ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e347a",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 262.286,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39162,
    "c": 0.11512,
    "h": 298
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#4E347A
secondary
#8EA763
accent
#D058A3
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0B070F
muted
#7C7A7E

Preview Lab

Preview with #4E347A

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

Preview Lab → · Contrast checker → · Palette generator →

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