#4A33BA#4A33BA

#4A33BA is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.0% C 0.199 H 282.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#4A33BA
RGBrgb(74, 51, 186)
HSLhsl(250, 57%, 46%)
HSVhsv(250, 73%, 73%)
CMYKcmyk(60.2%, 72.6%, 0%, 27.1%)
CIE-LABlab(32.63, 47.13, -67.51)
CIE-LCHlch(32.63, 82.33, 304.92°)
OKLaboklab(43.98% 0.0422 -0.1946)
OKLCHoklch(43.98% 0.199 282.2)
XYZxyz(12.8680, 7.3678, 47.1889)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A33BA #A3BA33
analogous
#3360BA #4A33BA #8E33BA
triadic
#4A33BA #BA4A33 #33BA4A
tetradic
#4A33BA #BA3360 #A3BA33 #33BA8E
square
#4A33BA #BA3360 #A3BA33 #33BA8E
split-complementary
#4A33BA #BA8E33 #60BA33
monochromatic
#24195A #37268A #4A33BA #6D59D1 #9789DF

Accessibility & contrast

On white

8.49
#4A33BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A33BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A33BA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A33BA#FFFFFF#000000##FFFFFF
##4A33BA1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005873
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a33ba;
/* rgb */ color: rgb(74, 51, 186);
/* oklch */ color: oklch(44.0% 0.199 282.2);
Tailwind
colors: {
  custom: {
    50: '#896dd0',
    500: '#4a33ba',
    950: '#000000',
  },
}
SCSS
$custom: #4a33ba;
$custom-light: #896dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a33ba",
  "rgb": {
    "r": 74,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 250.222,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43981,
    "c": 0.19911,
    "h": 282.2
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#4A33BA
secondary
#BCC980
accent
#E048C6
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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