#4E327B#4E327B

#4E327B is a dark, moderate violet. Relative luminance 0.053; OKLCH L 38.9% C 0.120 H 298.3°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4E327B
RGBrgb(78, 50, 123)
HSLhsl(263, 42%, 34%)
HSVhsv(263, 59%, 48%)
CMYKcmyk(36.6%, 59.3%, 0%, 51.8%)
CIE-LABlab(27.66, 29.63, -37.17)
CIE-LCHlch(27.66, 47.54, 308.56°)
OKLaboklab(38.89% 0.0569 -0.1054)
OKLCHoklch(38.89% 0.12 298.3)
XYZxyz(7.8568, 5.3309, 19.3501)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E327B #5F7B32
analogous
#323B7B #4E327B #73327B
triadic
#4E327B #7B4E32 #327B4E
tetradic
#4E327B #7B323B #5F7B32 #327B73
square
#4E327B #7B323B #5F7B32 #327B73
split-complementary
#4E327B #7B7332 #3B7B32
monochromatic
#170F24 #32204F #4E327B #6A44A7 #8966C1

Accessibility & contrast

On white

10.16
#4E327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4E327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E327B
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E327B#FFFFFF#000000##FFFFFF
##4E327B1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F417D
Deuteranopia (green-blind)
#1A4179
Tritanopia (blue-blind)
#444151
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4e327b;
/* rgb */ color: rgb(78, 50, 123);
/* oklch */ color: oklch(38.9% 0.120 298.3);
Tailwind
colors: {
  custom: {
    50: '#836ba2',
    500: '#4e327b',
    950: '#000000',
  },
}
SCSS
$custom: #4e327b;
$custom-light: #836ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e327b",
  "rgb": {
    "r": 78,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 263.014,
    "s": 42.197,
    "l": 33.922
  },
  "oklch": {
    "l": 0.38885,
    "c": 0.11974,
    "h": 298.3
  },
  "luminance": 0.05331
}

Semantic roles & 50–950 ramp

primary
#4E327B
secondary
#8DA960
accent
#D256A2
background
#F8F6FA
surface
#EFEBF3
border
#CAC6CD
text
#0B070F
muted
#7C7A7F

Preview Lab

Preview with #4E327B

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

Preview Lab → · Contrast checker → · Palette generator →

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