#4B2E9D#4B2E9D

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

Color values

HEX#4B2E9D
RGBrgb(75, 46, 157)
HSLhsl(256, 55%, 40%)
HSVhsv(256, 71%, 62%)
CMYKcmyk(52.2%, 70.7%, 0%, 38.4%)
CIE-LABlab(29.12, 41.28, -55.88)
CIE-LCHlch(29.12, 69.47, 306.45°)
OKLaboklab(40.7% 0.0537 -0.1604)
OKLCHoklch(40.7% 0.169 288.5)
XYZxyz(9.9627, 5.8837, 32.5025)
Luminance0.0588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2E9D #809D2E
analogous
#2E489D #4B2E9D #832E9D
triadic
#4B2E9D #9D4B2E #2E9D4B
tetradic
#4B2E9D #9D2E48 #809D2E #2E9D83
square
#4B2E9D #9D2E48 #809D2E #2E9D83
split-complementary
#4B2E9D #9D832E #489D2E
monochromatic
#1E123E #34206E #4B2E9D #6441C7 #8B70D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4B2E9D#FFFFFF#000000##FFFFFF
##4B2E9D1.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)
#0047A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#2D4B62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2e9d;
/* rgb */ color: rgb(75, 46, 157);
/* oklch */ color: oklch(40.7% 0.169 288.5);
Tailwind
colors: {
  custom: {
    50: '#8669bb',
    500: '#4b2e9d',
    950: '#000000',
  },
}
SCSS
$custom: #4b2e9d;
$custom-light: #8669bb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2e9d",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 255.676,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.407,
    "c": 0.16919,
    "h": 288.5
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#4B2E9D
secondary
#A7BD6A
accent
#DE4AB7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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