#4B2899#4B2899

#4B2899 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.171 H 290.5°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#4B2899
RGBrgb(75, 40, 153)
HSLhsl(259, 59%, 38%)
HSVhsv(259, 74%, 60%)
CMYKcmyk(51%, 73.9%, 0%, 40%)
CIE-LABlab(27.61, 43.33, -55.90)
CIE-LCHlch(27.61, 70.73, 307.78°)
OKLaboklab(39.52% 0.06 -0.1605)
OKLCHoklch(39.52% 0.171 290.5)
XYZxyz(9.4086, 5.3130, 30.6606)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2899 #769928
analogous
#283E99 #4B2899 #832899
triadic
#4B2899 #994B28 #28994B
tetradic
#4B2899 #99283E #769928 #289983
square
#4B2899 #99283E #769928 #289983
split-complementary
#4B2899 #998328 #3E9928
monochromatic
#1B0F38 #331B68 #4B2899 #6335CA #8865D7

Accessibility & contrast

On white

10.18
#4B2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4B2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2899
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2899#FFFFFF#000000##FFFFFF
##4B28991.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#30465E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2899;
/* rgb */ color: rgb(75, 40, 153);
/* oklch */ color: oklch(39.5% 0.171 290.5);
Tailwind
colors: {
  custom: {
    50: '#8565b8',
    500: '#4b2899',
    950: '#000000',
  },
}
SCSS
$custom: #4b2899;
$custom-light: #8565b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2899",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 258.584,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39518,
    "c": 0.17136,
    "h": 290.5
  },
  "luminance": 0.05313
}

Semantic roles & 50–950 ramp

primary
#4B2899
secondary
#A0BD60
accent
#E246B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2899

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

Preview Lab → · Contrast checker → · Palette generator →

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