#4A33AA#4A33AA

#4A33AA is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.5% C 0.180 H 284.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4A33AA
RGBrgb(74, 51, 170)
HSLhsl(252, 54%, 43%)
HSVhsv(252, 70%, 67%)
CMYKcmyk(56.5%, 70%, 0%, 33.3%)
CIE-LABlab(31.17, 42.25, -60.37)
CIE-LCHlch(31.17, 73.69, 304.98°)
OKLaboklab(42.5% 0.0454 -0.1737)
OKLCHoklch(42.5% 0.18 284.6)
XYZxyz(11.2614, 6.7251, 38.7271)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A33AA #93AA33
analogous
#3357AA #4A33AA #8533AA
triadic
#4A33AA #AA4A33 #33AA4A
tetradic
#4A33AA #AA3357 #93AA33 #33AA85
square
#4A33AA #AA3357 #93AA33 #33AA85
split-complementary
#4A33AA #AA8533 #57AA33
monochromatic
#21174C #36257B #4A33AA #6750CA #907FD9

Accessibility & contrast

On white

8.95
#4A33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4A33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A33AA
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A33AA#FFFFFF#000000##FFFFFF
##4A33AA1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#1C526A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a33aa;
/* rgb */ color: rgb(74, 51, 170);
/* oklch */ color: oklch(42.5% 0.180 284.6);
Tailwind
colors: {
  custom: {
    50: '#876dc4',
    500: '#4a33aa',
    950: '#000000',
  },
}
SCSS
$custom: #4a33aa;
$custom-light: #876dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a33aa",
  "rgb": {
    "r": 74,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 251.597,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42497,
    "c": 0.17951,
    "h": 284.6
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#4A33AA
secondary
#B3C277
accent
#DD4BC1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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