#4B2D9F#4B2D9F

#4B2D9F is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.173 H 288.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#4B2D9F
RGBrgb(75, 45, 159)
HSLhsl(256, 56%, 40%)
HSVhsv(256, 72%, 62%)
CMYKcmyk(52.8%, 71.7%, 0%, 37.6%)
CIE-LABlab(29.10, 42.42, -57.13)
CIE-LCHlch(29.10, 71.15, 306.60°)
OKLaboklab(40.74% 0.0542 -0.1641)
OKLCHoklch(40.74% 0.173 288.3)
XYZxyz(10.0962, 5.8754, 33.3962)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2D9F #819F2D
analogous
#2D489F #4B2D9F #842D9F
triadic
#4B2D9F #9F4B2D #2D9F4B
tetradic
#4B2D9F #9F2D48 #819F2D #2D9F84
square
#4B2D9F #9F2D48 #819F2D #2D9F84
split-complementary
#4B2D9F #9F842D #489F2D
monochromatic
#1E1240 #34206F #4B2D9F #6440C9 #8B70D6

Accessibility & contrast

On white

9.65
#4B2D9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B2D9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2D9F
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2D9F#FFFFFF#000000##FFFFFF
##4B2D9F1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#2B4B63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2d9f;
/* rgb */ color: rgb(75, 45, 159);
/* oklch */ color: oklch(40.7% 0.173 288.3);
Tailwind
colors: {
  custom: {
    50: '#8669bc',
    500: '#4b2d9f',
    950: '#000000',
  },
}
SCSS
$custom: #4b2d9f;
$custom-light: #8669bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2d9f",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 255.789,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.17284,
    "h": 288.3
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#4B2D9F
secondary
#A8BE6A
accent
#DF49B8
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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