#4B2BB4#4B2BB4

#4B2BB4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.200 H 284.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4B2BB4
RGBrgb(75, 43, 180)
HSLhsl(254, 61%, 44%)
HSVhsv(254, 76%, 71%)
CMYKcmyk(58.3%, 76.1%, 0%, 29.4%)
CIE-LABlab(30.68, 49.62, -67.15)
CIE-LCHlch(30.68, 83.49, 306.46°)
OKLaboklab(42.46% 0.0509 -0.1934)
OKLCHoklch(42.46% 0.2 284.7)
XYZxyz(12.0012, 6.5182, 43.7969)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BB4 #94B42B
analogous
#2B4FB4 #4B2BB4 #8F2BB4
triadic
#4B2BB4 #B44B2B #2BB44B
tetradic
#4B2BB4 #B42B4F #94B42B #2BB48F
square
#4B2BB4 #B42B4F #94B42B #2BB48F
split-complementary
#4B2BB4 #B48F2B #4FB42B
monochromatic
#221351 #361F83 #4B2BB4 #6949D3 #927ADF

Accessibility & contrast

On white

9.12
#4B2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4B2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BB4
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BB4#FFFFFF#000000##FFFFFF
##4B2BB41.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#0F526E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2bb4;
/* rgb */ color: rgb(75, 43, 180);
/* oklch */ color: oklch(42.5% 0.200 284.7);
Tailwind
colors: {
  custom: {
    50: '#8968cc',
    500: '#4b2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #4b2bb4;
$custom-light: #8968cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2bb4",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 254.015,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42457,
    "c": 0.20001,
    "h": 284.7
  },
  "luminance": 0.06519
}

Semantic roles & 50–950 ramp

primary
#4B2BB4
secondary
#B4C773
accent
#E543BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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