#4B2D8D#4B2D8D

#4B2D8D is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.150 H 292.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4B2D8D
RGBrgb(75, 45, 141)
HSLhsl(259, 52%, 36%)
HSVhsv(259, 68%, 55%)
CMYKcmyk(46.8%, 68.1%, 0%, 44.7%)
CIE-LABlab(27.56, 37.11, -48.59)
CIE-LCHlch(27.56, 61.14, 307.37°)
OKLaboklab(39.16% 0.0574 -0.139)
OKLCHoklch(39.16% 0.15 292.4)
XYZxyz(8.6464, 5.2954, 25.7607)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D8D #6F8D2D
analogous
#2D3F8D #4B2D8D #7B2D8D
triadic
#4B2D8D #8D4B2D #2D8D4B
tetradic
#4B2D8D #8D2D3F #6F8D2D #2D8D7B
square
#4B2D8D #8D2D3F #6F8D2D #2D8D7B
split-complementary
#4B2D8D #8D7B2D #3F8D2D
monochromatic
#1A0F30 #321E5F #4B2D8D #643CBB #8766CE

Accessibility & contrast

On white

10.20
#4B2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2D8D
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D8D#FFFFFF#000000##FFFFFF
##4B2D8D1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#003F8B
Tritanopia (blue-blind)
#374459
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2d8d;
/* rgb */ color: rgb(75, 45, 141);
/* oklch */ color: oklch(39.2% 0.150 292.4);
Tailwind
colors: {
  custom: {
    50: '#8368af',
    500: '#4b2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d8d;
$custom-light: #8368af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d8d",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 258.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.39164,
    "c": 0.15041,
    "h": 292.4
  },
  "luminance": 0.05296
}

Semantic roles & 50–950 ramp

primary
#4B2D8D
secondary
#9BB561
accent
#DB4DAF
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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