#4B327F#4B327F

#4B327F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.9% C 0.125 H 294.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4B327F
RGBrgb(75, 50, 127)
HSLhsl(259, 44%, 35%)
HSVhsv(259, 61%, 50%)
CMYKcmyk(40.9%, 60.6%, 0%, 50.2%)
CIE-LABlab(27.60, 30.02, -39.80)
CIE-LCHlch(27.60, 49.86, 307.03°)
OKLaboklab(38.85% 0.0525 -0.1132)
OKLCHoklch(38.85% 0.125 294.9)
XYZxyz(7.8720, 5.3092, 20.6846)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B327F #667F32
analogous
#323F7F #4B327F #72327F
triadic
#4B327F #7F4B32 #327F4B
tetradic
#4B327F #7F323F #667F32 #327F72
square
#4B327F #7F323F #667F32 #327F72
split-complementary
#4B327F #7F7232 #3F7F32
monochromatic
#170F27 #312153 #4B327F #6543AB #8668C4

Accessibility & contrast

On white

10.19
#4B327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B327F
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B327F#FFFFFF#000000##FFFFFF
##4B327F1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034282
Deuteranopia (green-blind)
#0F407D
Tritanopia (blue-blind)
#3E4353
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b327f;
/* rgb */ color: rgb(75, 50, 127);
/* oklch */ color: oklch(38.9% 0.125 294.9);
Tailwind
colors: {
  custom: {
    50: '#816ba5',
    500: '#4b327f',
    950: '#000000',
  },
}
SCSS
$custom: #4b327f;
$custom-light: #816ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b327f",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 259.481,
    "s": 43.503,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38853,
    "c": 0.12479,
    "h": 294.9
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#4B327F
secondary
#93AB62
accent
#D355AA
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B327F

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

Preview Lab → · Contrast checker → · Palette generator →

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