#4E326B#4E326B

#4E326B is a dark, moderate violet. Relative luminance 0.050; OKLCH L 37.8% C 0.098 H 304.8°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4E326B
RGBrgb(78, 50, 107)
HSLhsl(269, 36%, 31%)
HSVhsv(269, 53%, 42%)
CMYKcmyk(27.1%, 53.3%, 0%, 58%)
CIE-LABlab(26.63, 25.20, -28.64)
CIE-LCHlch(26.63, 38.15, 311.35°)
OKLaboklab(37.79% 0.056 -0.0804)
OKLCHoklch(37.79% 0.098 304.8)
XYZxyz(6.9358, 4.9625, 14.4995)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E326B #4F6B32
analogous
#32326B #4E326B #6A326B
triadic
#4E326B #6B4E32 #326B4E
tetradic
#4E326B #6B3232 #4F6B32 #326B6A
square
#4E326B #6B3232 #4F6B32 #326B6A
split-complementary
#4E326B #6B6A32 #326B32
monochromatic
#110B18 #301F41 #4E326B #6C4595 #8B62B6

Accessibility & contrast

On white

10.54
#4E326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E326B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E326B#FFFFFF#000000##FFFFFF
##4E326B1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213E6D
Deuteranopia (green-blind)
#293F6A
Tritanopia (blue-blind)
#493C49
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4e326b;
/* rgb */ color: rgb(78, 50, 107);
/* oklch */ color: oklch(37.8% 0.098 304.8);
Tailwind
colors: {
  custom: {
    50: '#816b96',
    500: '#4e326b',
    950: '#000000',
  },
}
SCSS
$custom: #4e326b;
$custom-light: #816b96;
$custom-dark: #000000;
JSON
{
  "hex": "#4e326b",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 269.474,
    "s": 36.306,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37792,
    "c": 0.09793,
    "h": 304.8
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#4E326B
secondary
#7D9C5D
accent
#CC5B95
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060D
muted
#7C7A7E

Preview Lab

Preview with #4E326B

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

Preview Lab → · Contrast checker → · Palette generator →

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