#4B2989#4B2989

#4B2989 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.151 H 294.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4B2989
RGBrgb(75, 41, 137)
HSLhsl(261, 54%, 35%)
HSVhsv(261, 70%, 54%)
CMYKcmyk(45.3%, 70.1%, 0%, 46.3%)
CIE-LABlab(26.41, 38.20, -47.98)
CIE-LCHlch(26.41, 61.33, 308.53°)
OKLaboklab(38.24% 0.0623 -0.1372)
OKLCHoklch(38.24% 0.151 294.4)
XYZxyz(8.2087, 4.8877, 24.1730)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2989 #678929
analogous
#293789 #4B2989 #7B2989
triadic
#4B2989 #894B29 #29894B
tetradic
#4B2989 #892937 #678929 #29897B
square
#4B2989 #892937 #678929 #29897B
split-complementary
#4B2989 #897B29 #378929
monochromatic
#170D2B #311B5A #4B2989 #6537B8 #865ECF

Accessibility & contrast

On white

10.62
#4B2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4B2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2989
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2989#FFFFFF#000000##FFFFFF
##4B29891.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003D87
Tritanopia (blue-blind)
#3A4055
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2989;
/* rgb */ color: rgb(75, 41, 137);
/* oklch */ color: oklch(38.2% 0.151 294.4);
Tailwind
colors: {
  custom: {
    50: '#8365ac',
    500: '#4b2989',
    950: '#000000',
  },
}
SCSS
$custom: #4b2989;
$custom-light: #8365ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2989",
  "rgb": {
    "r": 75,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 261.25,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38237,
    "c": 0.1507,
    "h": 294.4
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#4B2989
secondary
#94B45A
accent
#DD4AA9
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2989

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

Preview Lab → · Contrast checker → · Palette generator →

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