#4B2D9C#4B2D9C

#4B2D9C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.169 H 288.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#4B2D9C
RGBrgb(75, 45, 156)
HSLhsl(256, 55%, 39%)
HSVhsv(256, 71%, 61%)
CMYKcmyk(51.9%, 71.2%, 0%, 38.8%)
CIE-LABlab(28.83, 41.53, -55.73)
CIE-LCHlch(28.83, 69.51, 306.69°)
OKLaboklab(40.47% 0.0548 -0.16)
OKLCHoklch(40.47% 0.169 288.9)
XYZxyz(9.8390, 5.7725, 32.0418)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D9C #7E9C2D
analogous
#2D479C #4B2D9C #832D9C
triadic
#4B2D9C #9C4B2D #2D9C4B
tetradic
#4B2D9C #9C2D47 #7E9C2D #2D9C83
square
#4B2D9C #9C2D47 #7E9C2D #2D9C83
split-complementary
#4B2D9C #9C832D #479C2D
monochromatic
#1D123D #341F6D #4B2D9C #643FC8 #8A6ED5

Accessibility & contrast

On white

9.75
#4B2D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4B2D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D9C
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D9C#FFFFFF#000000##FFFFFF
##4B2D9C1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#2E4A61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b2d9c;
/* rgb */ color: rgb(75, 45, 156);
/* oklch */ color: oklch(40.5% 0.169 288.9);
Tailwind
colors: {
  custom: {
    50: '#8568ba',
    500: '#4b2d9c',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d9c;
$custom-light: #8568ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d9c",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 156
  },
  "hsl": {
    "h": 256.216,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.16916,
    "h": 288.9
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#4B2D9C
secondary
#A6BC68
accent
#DF49B6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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