#4B327C#4B327C

#4B327C is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.6% C 0.121 H 295.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4B327C
RGBrgb(75, 50, 124)
HSLhsl(260, 43%, 34%)
HSVhsv(260, 60%, 49%)
CMYKcmyk(39.5%, 59.7%, 0%, 51.4%)
CIE-LABlab(27.39, 29.15, -38.26)
CIE-LCHlch(27.39, 48.09, 307.30°)
OKLaboklab(38.63% 0.0526 -0.1087)
OKLCHoklch(38.63% 0.121 295.8)
XYZxyz(7.6794, 5.2322, 19.6702)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B327C #637C32
analogous
#323E7C #4B327C #70327C
triadic
#4B327C #7C4B32 #327C4B
tetradic
#4B327C #7C323E #637C32 #327C70
square
#4B327C #7C323E #637C32 #327C70
split-complementary
#4B327C #7C7032 #3E7C32
monochromatic
#160F25 #312050 #4B327C #6544A8 #8567C2

Accessibility & contrast

On white

10.26
#4B327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B327C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B327C#FFFFFF#000000##FFFFFF
##4B327C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A417E
Deuteranopia (green-blind)
#15407A
Tritanopia (blue-blind)
#3F4252
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b327c;
/* rgb */ color: rgb(75, 50, 124);
/* oklch */ color: oklch(38.6% 0.121 295.8);
Tailwind
colors: {
  custom: {
    50: '#816ba2',
    500: '#4b327c',
    950: '#000000',
  },
}
SCSS
$custom: #4b327c;
$custom-light: #816ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b327c",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 260.27,
    "s": 42.529,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38629,
    "c": 0.12071,
    "h": 295.8
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#4B327C
secondary
#91A961
accent
#D255A8
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4B327C

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

Preview Lab → · Contrast checker → · Palette generator →

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