#4B2BB0#4B2BB0

#4B2BB0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.195 H 285.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4B2BB0
RGBrgb(75, 43, 176)
HSLhsl(254, 61%, 43%)
HSVhsv(254, 76%, 69%)
CMYKcmyk(57.4%, 75.6%, 0%, 31%)
CIE-LABlab(30.30, 48.45, -65.40)
CIE-LCHlch(30.30, 81.39, 306.54°)
OKLaboklab(42.07% 0.0519 -0.1883)
OKLCHoklch(42.07% 0.195 285.4)
XYZxyz(11.5996, 6.3575, 41.6818)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2BB0 #90B02B
analogous
#2B4DB0 #4B2BB0 #8D2BB0
triadic
#4B2BB0 #B04B2B #2BB04B
tetradic
#4B2BB0 #B02B4D #90B02B #2BB08D
square
#4B2BB0 #B02B4D #90B02B #2BB08D
split-complementary
#4B2BB0 #B08D2B #4DB02B
monochromatic
#21134E #361F7F #4B2BB0 #6846D2 #9078DE

Accessibility & contrast

On white

9.24
#4B2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4B2BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2BB0
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2BB0#FFFFFF#000000##FFFFFF
##4B2BB01.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#18506C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b2bb0;
/* rgb */ color: rgb(75, 43, 176);
/* oklch */ color: oklch(42.1% 0.195 285.4);
Tailwind
colors: {
  custom: {
    50: '#8968c9',
    500: '#4b2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #4b2bb0;
$custom-light: #8968c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2bb0",
  "rgb": {
    "r": 75,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 254.436,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.19534,
    "h": 285.4
  },
  "luminance": 0.06358
}

Semantic roles & 50–950 ramp

primary
#4B2BB0
secondary
#B1C671
accent
#E444BD
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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