#4E3672#4E3672

#4E3672 is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.0% C 0.101 H 300.3°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4E3672
RGBrgb(78, 54, 114)
HSLhsl(264, 36%, 33%)
HSVhsv(264, 53%, 45%)
CMYKcmyk(31.6%, 52.6%, 0%, 55.3%)
CIE-LABlab(28.04, 24.60, -30.86)
CIE-LCHlch(28.04, 39.47, 308.56°)
OKLaboklab(38.98% 0.0507 -0.0869)
OKLCHoklch(38.98% 0.101 300.3)
XYZxyz(7.4976, 5.4729, 16.5777)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E3672 #5A7236
analogous
#363C72 #4E3672 #6C3672
triadic
#4E3672 #724E36 #36724E
tetradic
#4E3672 #72363C #5A7236 #36726C
square
#4E3672 #72363C #5A7236 #36726C
split-complementary
#4E3672 #726C36 #3C7236
monochromatic
#150F1F #322248 #4E3672 #6A4A9C #896AB8

Accessibility & contrast

On white

10.03
#4E3672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4E3672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E3672
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E3672#FFFFFF#000000##FFFFFF
##4E36721.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#284271
Tritanopia (blue-blind)
#47414E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e3672;
/* rgb */ color: rgb(78, 54, 114);
/* oklch */ color: oklch(39.0% 0.101 300.3);
Tailwind
colors: {
  custom: {
    50: '#826d9b',
    500: '#4e3672',
    950: '#000000',
  },
}
SCSS
$custom: #4e3672;
$custom-light: #826d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e3672",
  "rgb": {
    "r": 78,
    "g": 54,
    "b": 114
  },
  "hsl": {
    "h": 264,
    "s": 35.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38982,
    "c": 0.10058,
    "h": 300.3
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#4E3672
secondary
#88A163
accent
#CC5C9F
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A070E
muted
#7C7A7E

Preview Lab

Preview with #4E3672

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

Preview Lab → · Contrast checker → · Palette generator →

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