#4E327E#4E327E

#4E327E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.1% C 0.124 H 297.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4E327E
RGBrgb(78, 50, 126)
HSLhsl(262, 43%, 35%)
HSVhsv(262, 60%, 49%)
CMYKcmyk(38.1%, 60.3%, 0%, 50.6%)
CIE-LABlab(27.86, 30.48, -38.73)
CIE-LCHlch(27.86, 49.29, 308.21°)
OKLaboklab(39.1% 0.0568 -0.1099)
OKLCHoklch(39.1% 0.124 297.3)
XYZxyz(8.0474, 5.4071, 20.3543)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E327E #627E32
analogous
#323C7E #4E327E #74327E
triadic
#4E327E #7E4E32 #327E4E
tetradic
#4E327E #7E323C #627E32 #327E74
square
#4E327E #7E323C #627E32 #327E74
split-complementary
#4E327E #7E7432 #3C7E32
monochromatic
#180F26 #332152 #4E327E #6943AA #8968C3

Accessibility & contrast

On white

10.09
#4E327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4E327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E327E
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E327E#FFFFFF#000000##FFFFFF
##4E327E1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084280
Deuteranopia (green-blind)
#16417C
Tritanopia (blue-blind)
#434253
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4e327e;
/* rgb */ color: rgb(78, 50, 126);
/* oklch */ color: oklch(39.1% 0.124 297.3);
Tailwind
colors: {
  custom: {
    50: '#836ba4',
    500: '#4e327e',
    950: '#000000',
  },
}
SCSS
$custom: #4e327e;
$custom-light: #836ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e327e",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 262.105,
    "s": 43.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39104,
    "c": 0.12376,
    "h": 297.3
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#4E327E
secondary
#90AB61
accent
#D355A4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E327E

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

Preview Lab → · Contrast checker → · Palette generator →

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