#4B2DC8#4B2DC8

#4B2DC8 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.221 H 281.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4B2DC8
RGBrgb(75, 45, 200)
HSLhsl(252, 63%, 48%)
HSVhsv(252, 78%, 78%)
CMYKcmyk(62.5%, 77.5%, 0%, 21.6%)
CIE-LABlab(33.01, 54.45, -75.11)
CIE-LCHlch(33.01, 92.77, 305.94°)
OKLaboklab(44.68% 0.0442 -0.2167)
OKLCHoklch(44.68% 0.221 281.5)
XYZxyz(14.2621, 7.5417, 55.3365)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DC8 #AAC82D
analogous
#2D5CC8 #4B2DC8 #982DC8
triadic
#4B2DC8 #C84B2D #2DC84B
tetradic
#4B2DC8 #C82D5C #AAC82D #2DC898
square
#4B2DC8 #C82D5C #AAC82D #2DC898
split-complementary
#4B2DC8 #C8982D #5CC82D
monochromatic
#261764 #382296 #4B2DC8 #7259DA #9C8BE5

Accessibility & contrast

On white

8.37
#4B2DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B2DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DC8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DC8#FFFFFF#000000##FFFFFF
##4B2DC81.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b2dc8;
/* rgb */ color: rgb(75, 45, 200);
/* oklch */ color: oklch(44.7% 0.221 281.5);
Tailwind
colors: {
  custom: {
    50: '#8d6bda',
    500: '#4b2dc8',
    950: '#000000',
  },
}
SCSS
$custom: #4b2dc8;
$custom-light: #8d6bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2dc8",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 251.613,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.22114,
    "h": 281.5
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#4B2DC8
secondary
#C0CF82
accent
#E641C6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B2DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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