#4B2389#4B2389

#4B2389 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.158 H 295.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#4B2389
RGBrgb(75, 35, 137)
HSLhsl(264, 59%, 34%)
HSVhsv(264, 74%, 54%)
CMYKcmyk(45.3%, 74.5%, 0%, 46.3%)
CIE-LABlab(25.27, 41.38, -49.84)
CIE-LCHlch(25.27, 64.78, 309.70°)
OKLaboklab(37.43% 0.0684 -0.1427)
OKLCHoklch(37.43% 0.158 295.6)
XYZxyz(8.0168, 4.5039, 24.1090)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2389 #618923
analogous
#232E89 #4B2389 #7E2389
triadic
#4B2389 #894B23 #23894B
tetradic
#4B2389 #89232E #618923 #23897E
square
#4B2389 #89232E #618923 #23897E
split-complementary
#4B2389 #897E23 #2E8923
monochromatic
#160A28 #301758 #4B2389 #662FBA #8553D3

Accessibility & contrast

On white

11.05
#4B2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4B2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2389
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2389#FFFFFF#000000##FFFFFF
##4B23891.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2389;
/* rgb */ color: rgb(75, 35, 137);
/* oklch */ color: oklch(37.4% 0.158 295.6);
Tailwind
colors: {
  custom: {
    50: '#8362ac',
    500: '#4b2389',
    950: '#000000',
  },
}
SCSS
$custom: #4b2389;
$custom-light: #8362ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2389",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 263.529,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37425,
    "c": 0.15821,
    "h": 295.6
  },
  "luminance": 0.04504
}

Semantic roles & 50–950 ramp

primary
#4B2389
secondary
#8FB751
accent
#E245A5
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2389

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

Preview Lab → · Contrast checker → · Palette generator →

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