#4B2DCE#4B2DCE

#4B2DCE is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.3% C 0.228 H 280.7°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4B2DCE
RGBrgb(75, 45, 206)
HSLhsl(251, 64%, 49%)
HSVhsv(251, 78%, 81%)
CMYKcmyk(63.6%, 78.2%, 0%, 19.2%)
CIE-LABlab(33.62, 56.18, -77.59)
CIE-LCHlch(33.62, 95.79, 305.91°)
OKLaboklab(45.29% 0.0425 -0.2239)
OKLCHoklch(45.29% 0.228 280.7)
XYZxyz(14.9771, 7.8277, 59.1022)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DCE #B0CE2D
analogous
#2D60CE #4B2DCE #9C2DCE
triadic
#4B2DCE #CE4B2D #2DCE4B
tetradic
#4B2DCE #CE2D60 #B0CE2D #2DCE9C
square
#4B2DCE #CE2D60 #B0CE2D #2DCE9C
split-complementary
#4B2DCE #CE9C2D #60CE2D
monochromatic
#26176A #39229C #4B2DCE #745DDC #9F8FE7

Accessibility & contrast

On white

8.18
#4B2DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4B2DCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DCE
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DCE#FFFFFF#000000##FFFFFF
##4B2DCE1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D2
Deuteranopia (green-blind)
#0049CB
Tritanopia (blue-blind)
#005D7D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4b2dce;
/* rgb */ color: rgb(75, 45, 206);
/* oklch */ color: oklch(45.3% 0.228 280.7);
Tailwind
colors: {
  custom: {
    50: '#8e6bde',
    500: '#4b2dce',
    950: '#000000',
  },
}
SCSS
$custom: #4b2dce;
$custom-light: #8e6bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2dce",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 251.18,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45288,
    "c": 0.22794,
    "h": 280.7
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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