#4B327D#4B327D

#4B327D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.7% C 0.122 H 295.5°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4B327D
RGBrgb(75, 50, 125)
HSLhsl(260, 43%, 34%)
HSVhsv(260, 60%, 49%)
CMYKcmyk(40%, 60%, 0%, 51%)
CIE-LABlab(27.46, 29.44, -38.77)
CIE-LCHlch(27.46, 48.68, 307.21°)
OKLaboklab(38.7% 0.0526 -0.1102)
OKLCHoklch(38.7% 0.122 295.5)
XYZxyz(7.7430, 5.2576, 20.0049)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B327D #647D32
analogous
#323F7D #4B327D #71327D
triadic
#4B327D #7D4B32 #327D4B
tetradic
#4B327D #7D323F #647D32 #327D71
square
#4B327D #7D323F #647D32 #327D71
split-complementary
#4B327D #7D7132 #3F7D32
monochromatic
#170F26 #312151 #4B327D #6543A9 #8667C2

Accessibility & contrast

On white

10.24
#4B327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B327D
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B327D#FFFFFF#000000##FFFFFF
##4B327D1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07417F
Deuteranopia (green-blind)
#13407B
Tritanopia (blue-blind)
#3F4252
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b327d;
/* rgb */ color: rgb(75, 50, 125);
/* oklch */ color: oklch(38.7% 0.122 295.5);
Tailwind
colors: {
  custom: {
    50: '#816ba3',
    500: '#4b327d',
    950: '#000000',
  },
}
SCSS
$custom: #4b327d;
$custom-light: #816ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b327d",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 260,
    "s": 42.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.12207,
    "h": 295.5
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#4B327D
secondary
#92AA61
accent
#D355A9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B327D

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

Preview Lab → · Contrast checker → · Palette generator →

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