#4B2B91#4B2B91

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

Color values

HEX#4B2B91
RGBrgb(75, 43, 145)
HSLhsl(259, 54%, 37%)
HSVhsv(259, 70%, 57%)
CMYKcmyk(48.3%, 70.3%, 0%, 43.1%)
CIE-LABlab(27.48, 39.41, -51.19)
CIE-LCHlch(27.48, 64.60, 307.59°)
OKLaboklab(39.21% 0.0588 -0.1467)
OKLCHoklch(39.21% 0.158 291.8)
XYZxyz(8.8749, 5.2676, 27.3317)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2B91 #71912B
analogous
#2B3E91 #4B2B91 #7E2B91
triadic
#4B2B91 #914B2B #2B914B
tetradic
#4B2B91 #912B3E #71912B #2B917E
square
#4B2B91 #912B3E #71912B #2B917E
split-complementary
#4B2B91 #917E2B #3E912B
monochromatic
#1A0F33 #331D62 #4B2B91 #6339C0 #8765D1

Accessibility & contrast

On white

10.23
#4B2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B2B91
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2B91#FFFFFF#000000##FFFFFF
##4B2B911.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003F8F
Tritanopia (blue-blind)
#35455A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b2b91;
/* rgb */ color: rgb(75, 43, 145);
/* oklch */ color: oklch(39.2% 0.158 291.8);
Tailwind
colors: {
  custom: {
    50: '#8467b2',
    500: '#4b2b91',
    950: '#000000',
  },
}
SCSS
$custom: #4b2b91;
$custom-light: #8467b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2b91",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 258.824,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39213,
    "c": 0.15803,
    "h": 291.8
  },
  "luminance": 0.05268
}

Semantic roles & 50–950 ramp

primary
#4B2B91
secondary
#9CB860
accent
#DE4AAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4B2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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