#4B2DC1#4B2DC1

#4B2DC1 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.213 H 282.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4B2DC1
RGBrgb(75, 45, 193)
HSLhsl(252, 62%, 47%)
HSVhsv(252, 77%, 76%)
CMYKcmyk(61.1%, 76.7%, 0%, 24.3%)
CIE-LABlab(32.31, 52.42, -72.16)
CIE-LCHlch(32.31, 89.19, 305.99°)
OKLaboklab(43.98% 0.0461 -0.2081)
OKLCHoklch(43.98% 0.213 282.5)
XYZxyz(13.4627, 7.2219, 51.1263)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2DC1 #A3C12D
analogous
#2D59C1 #4B2DC1 #952DC1
triadic
#4B2DC1 #C14B2D #2DC14B
tetradic
#4B2DC1 #C12D59 #A3C12D #2DC195
square
#4B2DC1 #C12D59 #A3C12D #2DC195
split-complementary
#4B2DC1 #C1952D #59C12D
monochromatic
#24165E #38218F #4B2DC1 #6F54D7 #9986E3

Accessibility & contrast

On white

8.59
#4B2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4B2DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2DC1
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2DC1#FFFFFF#000000##FFFFFF
##4B2DC11.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4b2dc1;
/* rgb */ color: rgb(75, 45, 193);
/* oklch */ color: oklch(44.0% 0.213 282.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ad5',
    500: '#4b2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #4b2dc1;
$custom-light: #8c6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2dc1",
  "rgb": {
    "r": 75,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 252.162,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43979,
    "c": 0.21315,
    "h": 282.5
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#4B2DC1
secondary
#BCCC7E
accent
#E543C4
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4B2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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