#4B2CAC#4B2CAC

#4B2CAC is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.190 H 286.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#4B2CAC
RGBrgb(75, 44, 172)
HSLhsl(255, 59%, 42%)
HSVhsv(255, 74%, 67%)
CMYKcmyk(56.4%, 74.4%, 0%, 32.5%)
CIE-LABlab(30.10, 46.78, -63.33)
CIE-LCHlch(30.10, 78.74, 306.45°)
OKLaboklab(41.81% 0.0522 -0.1823)
OKLCHoklch(41.81% 0.19 286)
XYZxyz(11.2465, 6.2751, 39.6403)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CAC #8DAC2C
analogous
#2C4DAC #4B2CAC #8B2CAC
triadic
#4B2CAC #AC4B2C #2CAC4B
tetradic
#4B2CAC #AC2C4D #8DAC2C #2CAC8B
square
#4B2CAC #AC2C4D #8DAC2C #2CAC8B
split-complementary
#4B2CAC #AC8B2C #4DAC2C
monochromatic
#20134B #36207B #4B2CAC #6746D0 #8F76DC

Accessibility & contrast

On white

9.31
#4B2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B2CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CAC
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CAC#FFFFFF#000000##FFFFFF
##4B2CAC1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#1E4F6A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b2cac;
/* rgb */ color: rgb(75, 44, 172);
/* oklch */ color: oklch(41.8% 0.190 286.0);
Tailwind
colors: {
  custom: {
    50: '#8869c6',
    500: '#4b2cac',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cac;
$custom-light: #8869c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cac",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 172
  },
  "hsl": {
    "h": 254.531,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41812,
    "c": 0.18961,
    "h": 286
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#4B2CAC
secondary
#B0C470
accent
#E245BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B2CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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