#4B2DB9#4B2DB9

#4B2DB9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.204 H 283.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4B2DB9
RGBrgb(75, 45, 185)
HSLhsl(253, 61%, 45%)
HSVhsv(253, 76%, 73%)
CMYKcmyk(59.5%, 75.7%, 0%, 27.5%)
CIE-LABlab(31.52, 50.08, -68.74)
CIE-LCHlch(31.52, 85.05, 306.08°)
OKLaboklab(43.19% 0.0482 -0.1981)
OKLCHoklch(43.19% 0.204 283.7)
XYZxyz(12.5943, 6.8746, 46.5528)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DB9 #9BB92D
analogous
#2D55B9 #4B2DB9 #912DB9
triadic
#4B2DB9 #B94B2D #2DB94B
tetradic
#4B2DB9 #B92D55 #9BB92D #2DB991
square
#4B2DB9 #B92D55 #9BB92D #2DB991
split-complementary
#4B2DB9 #B9912D #55B92D
monochromatic
#231557 #372188 #4B2DB9 #6C4FD4 #9580E0

Accessibility & contrast

On white

8.84
#4B2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4B2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DB9
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DB9#FFFFFF#000000##FFFFFF
##4B2DB91.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2db9;
/* rgb */ color: rgb(75, 45, 185);
/* oklch */ color: oklch(43.2% 0.204 283.7);
Tailwind
colors: {
  custom: {
    50: '#8a6acf',
    500: '#4b2db9',
    950: '#000000',
  },
}
SCSS
$custom: #4b2db9;
$custom-light: #8a6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2db9",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 252.857,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4319,
    "c": 0.20388,
    "h": 283.7
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#4B2DB9
secondary
#B8C979
accent
#E444C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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