#4B2C97#4B2C97

#4B2C97 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.164 H 290.2°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#4B2C97
RGBrgb(75, 44, 151)
HSLhsl(257, 55%, 38%)
HSVhsv(257, 71%, 59%)
CMYKcmyk(50.3%, 70.9%, 0%, 40.8%)
CIE-LABlab(28.20, 40.61, -53.72)
CIE-LCHlch(28.20, 67.34, 307.09°)
OKLaboklab(39.88% 0.0567 -0.1541)
OKLCHoklch(39.88% 0.164 290.2)
XYZxyz(9.3866, 5.5312, 29.8452)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C97 #78972C
analogous
#2C4297 #4B2C97 #802C97
triadic
#4B2C97 #974B2C #2C974B
tetradic
#4B2C97 #972C42 #78972C #2C9780
square
#4B2C97 #972C42 #78972C #2C9780
split-complementary
#4B2C97 #97802C #42972C
monochromatic
#1C1038 #331E68 #4B2C97 #633AC6 #886AD4

Accessibility & contrast

On white

9.97
#4B2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4B2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2C97
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C97#FFFFFF#000000##FFFFFF
##4B2C971.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#31475E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b2c97;
/* rgb */ color: rgb(75, 44, 151);
/* oklch */ color: oklch(39.9% 0.164 290.2);
Tailwind
colors: {
  custom: {
    50: '#8568b6',
    500: '#4b2c97',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c97;
$custom-light: #8568b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c97",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 257.383,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39882,
    "c": 0.1642,
    "h": 290.2
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#4B2C97
secondary
#A1BA65
accent
#DE4AB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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