#4B2DB8#4B2DB8

#4B2DB8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.1% C 0.203 H 283.8°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4B2DB8
RGBrgb(75, 45, 184)
HSLhsl(253, 61%, 45%)
HSVhsv(253, 76%, 72%)
CMYKcmyk(59.2%, 75.5%, 0%, 27.8%)
CIE-LABlab(31.42, 49.79, -68.31)
CIE-LCHlch(31.42, 84.53, 306.09°)
OKLaboklab(43.09% 0.0484 -0.1968)
OKLCHoklch(43.09% 0.203 283.8)
XYZxyz(12.4891, 6.8325, 45.9988)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DB8 #9AB82D
analogous
#2D54B8 #4B2DB8 #912DB8
triadic
#4B2DB8 #B84B2D #2DB84B
tetradic
#4B2DB8 #B82D54 #9AB82D #2DB891
square
#4B2DB8 #B82D54 #9AB82D #2DB891
split-complementary
#4B2DB8 #B8912D #54B82D
monochromatic
#231556 #372187 #4B2DB8 #6B4ED4 #9480E0

Accessibility & contrast

On white

8.87
#4B2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4B2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DB8
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DB8#FFFFFF#000000##FFFFFF
##4B2DB81.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#025471
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b2db8;
/* rgb */ color: rgb(75, 45, 184);
/* oklch */ color: oklch(43.1% 0.203 283.8);
Tailwind
colors: {
  custom: {
    50: '#8a6acf',
    500: '#4b2db8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2db8;
$custom-light: #8a6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2db8",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 252.95,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43093,
    "c": 0.20272,
    "h": 283.8
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#4B2DB8
secondary
#B7C978
accent
#E444C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4B2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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