#4B2CAE#4B2CAE

#4B2CAE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.192 H 285.6°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4B2CAE
RGBrgb(75, 44, 174)
HSLhsl(254, 60%, 43%)
HSVhsv(254, 75%, 68%)
CMYKcmyk(56.9%, 74.7%, 0%, 31.8%)
CIE-LABlab(30.28, 47.36, -64.22)
CIE-LCHlch(30.28, 79.80, 306.41°)
OKLaboklab(42% 0.0517 -0.1849)
OKLCHoklch(42% 0.192 285.6)
XYZxyz(11.4400, 6.3525, 40.6595)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2CAE #8FAE2C
analogous
#2C4EAE #4B2CAE #8C2CAE
triadic
#4B2CAE #AE4B2C #2CAE4B
tetradic
#4B2CAE #AE2C4E #8FAE2C #2CAE8C
square
#4B2CAE #AE2C4E #8FAE2C #2CAE8C
split-complementary
#4B2CAE #AE8C2C #4EAE2C
monochromatic
#21134C #36207D #4B2CAE #6847D0 #9078DD

Accessibility & contrast

On white

9.25
#4B2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4B2CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2CAE
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2CAE#FFFFFF#000000##FFFFFF
##4B2CAE1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#1B506B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b2cae;
/* rgb */ color: rgb(75, 44, 174);
/* oklch */ color: oklch(42.0% 0.192 285.6);
Tailwind
colors: {
  custom: {
    50: '#8869c7',
    500: '#4b2cae',
    950: '#000000',
  },
}
SCSS
$custom: #4b2cae;
$custom-light: #8869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2cae",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 254.308,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42002,
    "c": 0.19197,
    "h": 285.6
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#4B2CAE
secondary
#B1C571
accent
#E345BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B2CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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