#4B2D8B#4B2D8B

#4B2D8B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.0% C 0.148 H 292.9°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4B2D8B
RGBrgb(75, 45, 139)
HSLhsl(259, 51%, 36%)
HSVhsv(259, 68%, 55%)
CMYKcmyk(46%, 67.6%, 0%, 45.5%)
CIE-LABlab(27.40, 36.53, -47.62)
CIE-LCHlch(27.40, 60.01, 307.49°)
OKLaboklab(39% 0.0576 -0.1362)
OKLCHoklch(39% 0.148 292.9)
XYZxyz(8.4990, 5.2365, 24.9840)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D8B #6D8B2D
analogous
#2D3E8B #4B2D8B #7A2D8B
triadic
#4B2D8B #8B4B2D #2D8B4B
tetradic
#4B2D8B #8B2D3E #6D8B2D #2D8B7A
square
#4B2D8B #8B2D3E #6D8B2D #2D8B7A
split-complementary
#4B2D8B #8B7A2D #3E8B2D
monochromatic
#190F2F #321E5D #4B2D8B #643CB9 #8665CD

Accessibility & contrast

On white

10.26
#4B2D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4B2D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D8B
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D8B#FFFFFF#000000##FFFFFF
##4B2D8B1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#384458
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2d8b;
/* rgb */ color: rgb(75, 45, 139);
/* oklch */ color: oklch(39.0% 0.148 292.9);
Tailwind
colors: {
  custom: {
    50: '#8368ae',
    500: '#4b2d8b',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d8b;
$custom-light: #8368ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d8b",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 139
  },
  "hsl": {
    "h": 259.149,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38996,
    "c": 0.14787,
    "h": 292.9
  },
  "luminance": 0.05237
}

Semantic roles & 50–950 ramp

primary
#4B2D8B
secondary
#99B460
accent
#DB4DAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4B2D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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