#4B2489#4B2489

#4B2489 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.157 H 295.4°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#4B2489
RGBrgb(75, 36, 137)
HSLhsl(263, 58%, 34%)
HSVhsv(263, 74%, 54%)
CMYKcmyk(45.3%, 73.7%, 0%, 46.3%)
CIE-LABlab(25.45, 40.87, -49.54)
CIE-LCHlch(25.45, 64.22, 309.52°)
OKLaboklab(37.55% 0.0674 -0.1418)
OKLCHoklch(37.55% 0.157 295.4)
XYZxyz(8.0467, 4.5636, 24.1190)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2489 #628924
analogous
#243089 #4B2489 #7E2489
triadic
#4B2489 #894B24 #24894B
tetradic
#4B2489 #892430 #628924 #24897E
square
#4B2489 #892430 #628924 #24897E
split-complementary
#4B2489 #897E24 #308924
monochromatic
#160B28 #301759 #4B2489 #6631B9 #8555D2

Accessibility & contrast

On white

10.98
#4B2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2489
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2489#FFFFFF#000000##FFFFFF
##4B24891.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#3A3E54
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2489;
/* rgb */ color: rgb(75, 36, 137);
/* oklch */ color: oklch(37.6% 0.157 295.4);
Tailwind
colors: {
  custom: {
    50: '#8362ac',
    500: '#4b2489',
    950: '#000000',
  },
}
SCSS
$custom: #4b2489;
$custom-light: #8362ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2489",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 263.168,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.15701,
    "h": 295.4
  },
  "luminance": 0.04564
}

Semantic roles & 50–950 ramp

primary
#4B2489
secondary
#90B752
accent
#E246A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B2489

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

Preview Lab → · Contrast checker → · Palette generator →

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