#4B327A#4B327A

#4B327A is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.118 H 296.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4B327A
RGBrgb(75, 50, 122)
HSLhsl(261, 42%, 34%)
HSVhsv(261, 59%, 48%)
CMYKcmyk(38.5%, 59%, 0%, 52.2%)
CIE-LABlab(27.25, 28.56, -37.22)
CIE-LCHlch(27.25, 46.92, 307.50°)
OKLaboklab(38.48% 0.0526 -0.1056)
OKLCHoklch(38.48% 0.118 296.5)
XYZxyz(7.5542, 5.1821, 19.0108)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B327A #617A32
analogous
#323D7A #4B327A #6F327A
triadic
#4B327A #7A4B32 #327A4B
tetradic
#4B327A #7A323D #617A32 #327A6F
square
#4B327A #7A323D #617A32 #327A6F
split-complementary
#4B327A #7A6F32 #3D7A32
monochromatic
#160E23 #30204F #4B327A #6644A5 #8566C0

Accessibility & contrast

On white

10.31
#4B327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4B327A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B327A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B327A#FFFFFF#000000##FFFFFF
##4B327A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417C
Deuteranopia (green-blind)
#183F78
Tritanopia (blue-blind)
#404151
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b327a;
/* rgb */ color: rgb(75, 50, 122);
/* oklch */ color: oklch(38.5% 0.118 296.5);
Tailwind
colors: {
  custom: {
    50: '#816ba1',
    500: '#4b327a',
    950: '#000000',
  },
}
SCSS
$custom: #4b327a;
$custom-light: #816ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b327a",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 260.833,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.38483,
    "c": 0.11797,
    "h": 296.5
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#4B327A
secondary
#8FA860
accent
#D256A7
background
#F8F6F9
surface
#EFEBF2
border
#CAC6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #4B327A

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

Preview Lab → · Contrast checker → · Palette generator →

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