#4E3366#4E3366

#4E3366 is a dark, moderate violet. Relative luminance 0.049; OKLCH L 37.7% C 0.089 H 307.1°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#4E3366
RGBrgb(78, 51, 102)
HSLhsl(272, 33%, 30%)
HSVhsv(272, 50%, 40%)
CMYKcmyk(23.5%, 50%, 0%, 60%)
CIE-LABlab(26.58, 23.24, -25.49)
CIE-LCHlch(26.58, 34.49, 312.36°)
OKLaboklab(37.66% 0.0538 -0.0712)
OKLCHoklch(37.66% 0.089 307.1)
XYZxyz(6.7235, 4.9467, 13.1684)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3366 #4B6633
analogous
#353366 #4E3366 #663364
triadic
#4E3366 #664E33 #33664E
tetradic
#4E3366 #663533 #4B6633 #336466
square
#4E3366 #663533 #4B6633 #336466
split-complementary
#4E3366 #646633 #336635
monochromatic
#100A14 #2F1F3D #4E3366 #6D478F #8C63B1

Accessibility & contrast

On white

10.56
#4E3366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3366
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3366#FFFFFF#000000##FFFFFF
##4E33661.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263E68
Deuteranopia (green-blind)
#2D3F65
Tritanopia (blue-blind)
#4A3B47
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3366;
/* rgb */ color: rgb(78, 51, 102);
/* oklch */ color: oklch(37.7% 0.089 307.1);
Tailwind
colors: {
  custom: {
    50: '#816b92',
    500: '#4e3366',
    950: '#000000',
  },
}
SCSS
$custom: #4e3366;
$custom-light: #816b92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3366",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 102
  },
  "hsl": {
    "h": 271.765,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.37663,
    "c": 0.08922,
    "h": 307.1
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#4E3366
secondary
#79975E
accent
#C95E91
background
#F7F6F9
surface
#EEEBF1
border
#C9C6CB
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E3366

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

Preview Lab → · Contrast checker → · Palette generator →

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