#4B2CAA#4B2CAA

#4B2CAA is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.187 H 286.3°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#4B2CAA
RGBrgb(75, 44, 170)
HSLhsl(255, 59%, 42%)
HSVhsv(255, 74%, 67%)
CMYKcmyk(55.9%, 74.1%, 0%, 33.3%)
CIE-LABlab(29.91, 46.19, -62.44)
CIE-LCHlch(29.91, 77.67, 306.49°)
OKLaboklab(41.62% 0.0526 -0.1797)
OKLCHoklch(41.62% 0.187 286.3)
XYZxyz(11.0559, 6.1989, 38.6364)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CAA #8BAA2C
analogous
#2C4CAA #4B2CAA #8A2CAA
triadic
#4B2CAA #AA4B2C #2CAA4B
tetradic
#4B2CAA #AA2C4C #8BAA2C #2CAA8A
square
#4B2CAA #AA2C4C #8BAA2C #2CAA8A
split-complementary
#4B2CAA #AA8A2C #4CAA2C
monochromatic
#201349 #361F79 #4B2CAA #6644CF #8E75DB

Accessibility & contrast

On white

9.38
#4B2CAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#4B2CAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CAA
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CAA#FFFFFF#000000##FFFFFF
##4B2CAA1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#204F69
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2caa;
/* rgb */ color: rgb(75, 44, 170);
/* oklch */ color: oklch(41.6% 0.187 286.3);
Tailwind
colors: {
  custom: {
    50: '#8868c4',
    500: '#4b2caa',
    950: '#000000',
  },
}
SCSS
$custom: #4b2caa;
$custom-light: #8868c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2caa",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 170
  },
  "hsl": {
    "h": 254.762,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41622,
    "c": 0.18723,
    "h": 286.3
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#4B2CAA
secondary
#AEC36F
accent
#E246BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4B2CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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