#4E3462#4E3462

#4E3462 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.6% C 0.082 H 309.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4E3462
RGBrgb(78, 52, 98)
HSLhsl(274, 31%, 29%)
HSVhsv(274, 47%, 38%)
CMYKcmyk(20.4%, 46.9%, 0%, 61.6%)
CIE-LABlab(26.61, 21.56, -22.85)
CIE-LCHlch(26.61, 31.42, 313.34°)
OKLaboklab(37.61% 0.0515 -0.0636)
OKLCHoklch(37.61% 0.082 309)
XYZxyz(6.5741, 4.9576, 12.1635)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3462 #486234
analogous
#373462 #4E3462 #62345F
triadic
#4E3462 #624E34 #34624E
tetradic
#4E3462 #623734 #486234 #345F62
square
#4E3462 #623734 #486234 #345F62
split-complementary
#4E3462 #5F6234 #346237
monochromatic
#100B14 #2E1F3A #4E3462 #6E498A #8D64AD

Accessibility & contrast

On white

10.54
#4E3462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4E3462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3462
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3462#FFFFFF#000000##FFFFFF
##4E34621.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E64
Deuteranopia (green-blind)
#303F61
Tritanopia (blue-blind)
#4B3B46
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3462;
/* rgb */ color: rgb(78, 52, 98);
/* oklch */ color: oklch(37.6% 0.082 309.0);
Tailwind
colors: {
  custom: {
    50: '#816c8f',
    500: '#4e3462',
    950: '#000000',
  },
}
SCSS
$custom: #4e3462;
$custom-light: #816c8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3462",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 98
  },
  "hsl": {
    "h": 273.913,
    "s": 30.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37614,
    "c": 0.08179,
    "h": 309
  },
  "luminance": 0.04958
}

Semantic roles & 50–950 ramp

primary
#4E3462
secondary
#76935F
accent
#C7618D
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A070C
muted
#7C7A7D

Preview Lab

Preview with #4E3462

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

Preview Lab → · Contrast checker → · Palette generator →

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