#4B2CD4#4B2CD4

#4B2CD4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.235 H 280.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4B2CD4
RGBrgb(75, 44, 212)
HSLhsl(251, 66%, 50%)
HSVhsv(251, 79%, 83%)
CMYKcmyk(64.6%, 79.2%, 0%, 16.9%)
CIE-LABlab(34.09, 58.35, -80.30)
CIE-LCHlch(34.09, 99.27, 306.00°)
OKLaboklab(45.8% 0.0413 -0.2318)
OKLCHoklch(45.8% 0.235 280.1)
XYZxyz(15.6822, 8.0494, 63.0019)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CD4 #B5D42C
analogous
#2C61D4 #4B2CD4 #9F2CD4
triadic
#4B2CD4 #D44B2C #2CD44B
tetradic
#4B2CD4 #D42C61 #B5D42C #2CD49F
square
#4B2CD4 #D42C61 #B5D42C #2CD49F
split-complementary
#4B2CD4 #D49F2C #61D42C
monochromatic
#27176F #3921A2 #4B2CD4 #765FDE #A292E9

Accessibility & contrast

On white

8.05
#4B2CD4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4B2CD4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CD4
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CD4#FFFFFF#000000##FFFFFF
##4B2CD41.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056D9
Deuteranopia (green-blind)
#004AD1
Tritanopia (blue-blind)
#005F81
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4b2cd4;
/* rgb */ color: rgb(75, 44, 212);
/* oklch */ color: oklch(45.8% 0.235 280.1);
Tailwind
colors: {
  custom: {
    50: '#8f6be3',
    500: '#4b2cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cd4;
$custom-light: #8f6be3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cd4",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 212
  },
  "hsl": {
    "h": 251.071,
    "s": 66.142,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45795,
    "c": 0.23548,
    "h": 280.1
  },
  "luminance": 0.08051
}

Semantic roles & 50–950 ramp

primary
#4B2CD4
secondary
#C6D388
accent
#E93FCA
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0716
muted
#7E7A84

Preview Lab

Preview with #4B2CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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