#4E3367#4E3367

#4E3367 is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.7% C 0.091 H 306.5°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4E3367
RGBrgb(78, 51, 103)
HSLhsl(271, 34%, 30%)
HSVhsv(271, 50%, 40%)
CMYKcmyk(24.3%, 50.5%, 0%, 59.6%)
CIE-LABlab(26.64, 23.51, -26.04)
CIE-LCHlch(26.64, 35.08, 312.07°)
OKLaboklab(37.72% 0.0539 -0.0728)
OKLCHoklch(37.72% 0.091 306.5)
XYZxyz(6.7734, 4.9667, 13.4312)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3367 #4C6733
analogous
#343367 #4E3367 #673366
triadic
#4E3367 #674E33 #33674E
tetradic
#4E3367 #673433 #4C6733 #336667
square
#4E3367 #673433 #4C6733 #336667
split-complementary
#4E3367 #666733 #336734
monochromatic
#100A15 #2F1F3E #4E3367 #6D4790 #8C63B2

Accessibility & contrast

On white

10.53
#4E3367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E3367
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3367#FFFFFF#000000##FFFFFF
##4E33671.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253E69
Deuteranopia (green-blind)
#2C3F66
Tritanopia (blue-blind)
#4A3C48
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e3367;
/* rgb */ color: rgb(78, 51, 103);
/* oklch */ color: oklch(37.7% 0.091 306.5);
Tailwind
colors: {
  custom: {
    50: '#816b92',
    500: '#4e3367',
    950: '#000000',
  },
}
SCSS
$custom: #4e3367;
$custom-light: #816b92;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3367",
  "rgb": {
    "r": 78,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 271.154,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.37725,
    "c": 0.0906,
    "h": 306.5
  },
  "luminance": 0.04967
}

Semantic roles & 50–950 ramp

primary
#4E3367
secondary
#7A985E
accent
#CA5E92
background
#F8F6F9
surface
#EFEBF1
border
#CAC6CB
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #4E3367

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

Preview Lab → · Contrast checker → · Palette generator →

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