#4B2CB6#4B2CB6

#4B2CB6 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.201 H 284.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#4B2CB6
RGBrgb(75, 44, 182)
HSLhsl(253, 61%, 44%)
HSVhsv(253, 76%, 71%)
CMYKcmyk(58.8%, 75.8%, 0%, 28.6%)
CIE-LABlab(31.05, 49.70, -67.73)
CIE-LCHlch(31.05, 84.01, 306.27°)
OKLaboklab(42.77% 0.0496 -0.1951)
OKLCHoklch(42.77% 0.201 284.3)
XYZxyz(12.2432, 6.6738, 44.8899)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CB6 #97B62C
analogous
#2C52B6 #4B2CB6 #902CB6
triadic
#4B2CB6 #B64B2C #2CB64B
tetradic
#4B2CB6 #B62C52 #97B62C #2CB690
square
#4B2CB6 #B62C52 #97B62C #2CB690
split-complementary
#4B2CB6 #B6902C #52B62C
monochromatic
#221453 #372085 #4B2CB6 #6A4CD4 #937DE0

Accessibility & contrast

On white

8.99
#4B2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4B2CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CB6
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CB6#FFFFFF#000000##FFFFFF
##4B2CB61.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#09536F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2cb6;
/* rgb */ color: rgb(75, 44, 182);
/* oklch */ color: oklch(42.8% 0.201 284.3);
Tailwind
colors: {
  custom: {
    50: '#8a69cd',
    500: '#4b2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cb6;
$custom-light: #8a69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cb6",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 253.478,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42774,
    "c": 0.20136,
    "h": 284.3
  },
  "luminance": 0.06675
}

Semantic roles & 50–950 ramp

primary
#4B2CB6
secondary
#B6C876
accent
#E444C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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