#4B2399#4B2399

#4B2399 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.177 H 291.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#4B2399
RGBrgb(75, 35, 153)
HSLhsl(260, 63%, 37%)
HSVhsv(260, 77%, 60%)
CMYKcmyk(51%, 77.1%, 0%, 40%)
CIE-LABlab(26.73, 45.82, -57.35)
CIE-LCHlch(26.73, 73.41, 308.63°)
OKLaboklab(38.9% 0.0643 -0.1647)
OKLCHoklch(38.9% 0.177 291.3)
XYZxyz(9.2508, 4.9975, 30.6080)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2399 #719923
analogous
#233699 #4B2399 #862399
triadic
#4B2399 #994B23 #23994B
tetradic
#4B2399 #992336 #719923 #239986
square
#4B2399 #992336 #719923 #239986
split-complementary
#4B2399 #998623 #369923
monochromatic
#1A0C35 #331867 #4B2399 #632ECB #875DDA

Accessibility & contrast

On white

10.50
#4B2399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4B2399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2399
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2399#FFFFFF#000000##FFFFFF
##4B23991.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#30445D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2399;
/* rgb */ color: rgb(75, 35, 153);
/* oklch */ color: oklch(38.9% 0.177 291.3);
Tailwind
colors: {
  custom: {
    50: '#8663b8',
    500: '#4b2399',
    950: '#000000',
  },
}
SCSS
$custom: #4b2399;
$custom-light: #8663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2399",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 260.339,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38898,
    "c": 0.1768,
    "h": 291.3
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

primary
#4B2399
secondary
#9CBE59
accent
#E642AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2399

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

Preview Lab → · Contrast checker → · Palette generator →

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