#4E3362#4E3362

#4E3362 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.4% C 0.084 H 309.4°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#4E3362
RGBrgb(78, 51, 98)
HSLhsl(274, 32%, 29%)
HSVhsv(274, 48%, 38%)
CMYKcmyk(20.4%, 48%, 0%, 61.6%)
CIE-LABlab(26.36, 22.20, -23.25)
CIE-LCHlch(26.36, 32.15, 313.68°)
OKLaboklab(37.42% 0.0531 -0.0647)
OKLCHoklch(37.42% 0.084 309.4)
XYZxyz(6.5299, 4.8693, 12.1488)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3362 #476233
analogous
#373362 #4E3362 #62335F
triadic
#4E3362 #624E33 #33624E
tetradic
#4E3362 #623733 #476233 #335F62
square
#4E3362 #623733 #476233 #335F62
split-complementary
#4E3362 #5F6233 #336237
monochromatic
#100A14 #2E1E3A #4E3362 #6E488A #8D62AD

Accessibility & contrast

On white

10.64
#4E3362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4E3362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3362
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3362#FFFFFF#000000##FFFFFF
##4E33621.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283D64
Deuteranopia (green-blind)
#2F3F61
Tritanopia (blue-blind)
#4B3A45
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4e3362;
/* rgb */ color: rgb(78, 51, 98);
/* oklch */ color: oklch(37.4% 0.084 309.4);
Tailwind
colors: {
  custom: {
    50: '#816b8f',
    500: '#4e3362',
    950: '#000000',
  },
}
SCSS
$custom: #4e3362;
$custom-light: #816b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3362",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 98
  },
  "hsl": {
    "h": 274.468,
    "s": 31.544,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37423,
    "c": 0.08372,
    "h": 309.4
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#4E3362
secondary
#74935E
accent
#C8608C
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#0A060C
muted
#7C7A7D

Preview Lab

Preview with #4E3362

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

Preview Lab → · Contrast checker → · Palette generator →

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