#4E326E#4E326E

#4E326E is a dark, moderate violet. Relative luminance 0.050; OKLCH L 38.0% C 0.102 H 303.5°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#4E326E
RGBrgb(78, 50, 110)
HSLhsl(268, 38%, 31%)
HSVhsv(268, 55%, 43%)
CMYKcmyk(29.1%, 54.5%, 0%, 56.9%)
CIE-LABlab(26.81, 26.01, -30.27)
CIE-LCHlch(26.81, 39.91, 310.67°)
OKLaboklab(37.99% 0.0563 -0.0851)
OKLCHoklch(37.99% 0.102 303.5)
XYZxyz(7.0963, 5.0267, 15.3452)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E326E #526E32
analogous
#32346E #4E326E #6C326E
triadic
#4E326E #6E4E32 #326E4E
tetradic
#4E326E #6E3234 #526E32 #326E6C
square
#4E326E #6E3234 #526E32 #326E6C
split-complementary
#4E326E #6E6C32 #346E32
monochromatic
#120C1A #301F44 #4E326E #6C4598 #8A63B8

Accessibility & contrast

On white

10.47
#4E326E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4E326E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E326E
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E326E#FFFFFF#000000##FFFFFF
##4E326E1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#273F6D
Tritanopia (blue-blind)
#483D4B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e326e;
/* rgb */ color: rgb(78, 50, 110);
/* oklch */ color: oklch(38.0% 0.102 303.5);
Tailwind
colors: {
  custom: {
    50: '#816b98',
    500: '#4e326e',
    950: '#000000',
  },
}
SCSS
$custom: #4e326e;
$custom-light: #816b98;
$custom-dark: #000000;
JSON
{
  "hex": "#4e326e",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 268,
    "s": 37.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37988,
    "c": 0.10204,
    "h": 303.5
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#4E326E
secondary
#809F5D
accent
#CD5A98
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E326E

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

Preview Lab → · Contrast checker → · Palette generator →

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