#4B2DCD#4B2DCD

#4B2DCD is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.2% C 0.227 H 280.9°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4B2DCD
RGBrgb(75, 45, 205)
HSLhsl(251, 64%, 49%)
HSVhsv(251, 78%, 80%)
CMYKcmyk(63.4%, 78%, 0%, 19.6%)
CIE-LABlab(33.52, 55.89, -77.18)
CIE-LCHlch(33.52, 95.29, 305.91°)
OKLaboklab(45.19% 0.0428 -0.2227)
OKLCHoklch(45.19% 0.227 280.9)
XYZxyz(14.8560, 7.7793, 58.4645)
Luminance0.0778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DCD #AFCD2D
analogous
#2D5FCD #4B2DCD #9B2DCD
triadic
#4B2DCD #CD4B2D #2DCD4B
tetradic
#4B2DCD #CD2D5F #AFCD2D #2DCD9B
square
#4B2DCD #CD2D5F #AFCD2D #2DCD9B
split-complementary
#4B2DCD #CD9B2D #5FCD2D
monochromatic
#261769 #39229B #4B2DCD #745CDB #9F8EE6

Accessibility & contrast

On white

8.22
#4B2DCD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4B2DCD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DCD
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DCD#FFFFFF#000000##FFFFFF
##4B2DCD1.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D1
Deuteranopia (green-blind)
#0049CA
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b2dcd;
/* rgb */ color: rgb(75, 45, 205);
/* oklch */ color: oklch(45.2% 0.227 280.9);
Tailwind
colors: {
  custom: {
    50: '#8e6bde',
    500: '#4b2dcd',
    950: '#000000',
  },
}
SCSS
$custom: #4b2dcd;
$custom-light: #8e6bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2dcd",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 205
  },
  "hsl": {
    "h": 251.25,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45186,
    "c": 0.22681,
    "h": 280.9
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#4B2DCD
secondary
#C2D185
accent
#E741C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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