#4B2C99#4B2C99

#4B2C99 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.167 H 289.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4B2C99
RGBrgb(75, 44, 153)
HSLhsl(257, 55%, 39%)
HSVhsv(257, 71%, 60%)
CMYKcmyk(51%, 71.2%, 0%, 40%)
CIE-LABlab(28.37, 41.20, -54.66)
CIE-LCHlch(28.37, 68.44, 307.01°)
OKLaboklab(40.06% 0.0564 -0.1568)
OKLCHoklch(40.06% 0.167 289.8)
XYZxyz(9.5504, 5.5967, 30.7079)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C99 #7A992C
analogous
#2C4399 #4B2C99 #812C99
triadic
#4B2C99 #994B2C #2C994B
tetradic
#4B2C99 #992C43 #7A992C #2C9981
square
#4B2C99 #992C43 #7A992C #2C9981
split-complementary
#4B2C99 #99812C #43992C
monochromatic
#1C113A #341E69 #4B2C99 #633BC7 #896BD4

Accessibility & contrast

On white

9.91
#4B2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4B2C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2C99
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C99#FFFFFF#000000##FFFFFF
##4B2C991.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#30485F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2c99;
/* rgb */ color: rgb(75, 44, 153);
/* oklch */ color: oklch(40.1% 0.167 289.8);
Tailwind
colors: {
  custom: {
    50: '#8568b8',
    500: '#4b2c99',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c99;
$custom-light: #8568b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c99",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 257.064,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.16667,
    "h": 289.8
  },
  "luminance": 0.05597
}

Semantic roles & 50–950 ramp

primary
#4B2C99
secondary
#A3BB66
accent
#DF49B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2C99

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

Preview Lab → · Contrast checker → · Palette generator →

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