#4B2DCA#4B2DCA

#4B2DCA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.9% C 0.223 H 281.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4B2DCA
RGBrgb(75, 45, 202)
HSLhsl(251, 64%, 48%)
HSVhsv(251, 78%, 79%)
CMYKcmyk(62.9%, 77.7%, 0%, 20.8%)
CIE-LABlab(33.21, 55.03, -75.94)
CIE-LCHlch(33.21, 93.78, 305.93°)
OKLaboklab(44.88% 0.0436 -0.2191)
OKLCHoklch(44.88% 0.223 281.3)
XYZxyz(14.4973, 7.6358, 56.5756)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DCA #ACCA2D
analogous
#2D5DCA #4B2DCA #992DCA
triadic
#4B2DCA #CA4B2D #2DCA4B
tetradic
#4B2DCA #CA2D5D #ACCA2D #2DCA99
square
#4B2DCA #CA2D5D #ACCA2D #2DCA99
split-complementary
#4B2DCA #CA992D #5DCA2D
monochromatic
#261766 #382298 #4B2DCA #725ADA #9D8CE5

Accessibility & contrast

On white

8.31
#4B2DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4B2DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DCA
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DCA#FFFFFF#000000##FFFFFF
##4B2DCA1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b2dca;
/* rgb */ color: rgb(75, 45, 202);
/* oklch */ color: oklch(44.9% 0.223 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d6bdc',
    500: '#4b2dca',
    950: '#000000',
  },
}
SCSS
$custom: #4b2dca;
$custom-light: #8d6bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2dca",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 251.465,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44882,
    "c": 0.22342,
    "h": 281.3
  },
  "luminance": 0.07637
}

Semantic roles & 50–950 ramp

primary
#4B2DCA
secondary
#C1CF83
accent
#E741C7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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