#4B33AA#4B33AA

#4B33AA is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.6% C 0.179 H 285.1°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4B33AA
RGBrgb(75, 51, 170)
HSLhsl(252, 54%, 43%)
HSVhsv(252, 70%, 67%)
CMYKcmyk(55.9%, 70%, 0%, 33.3%)
CIE-LABlab(31.27, 42.41, -60.22)
CIE-LCHlch(31.27, 73.65, 305.16°)
OKLaboklab(42.59% 0.0468 -0.1732)
OKLCHoklch(42.59% 0.179 285.1)
XYZxyz(11.3390, 6.7651, 38.7307)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B33AA #92AA33
analogous
#3356AA #4B33AA #8633AA
triadic
#4B33AA #AA4B33 #33AA4B
tetradic
#4B33AA #AA3356 #92AA33 #33AA86
square
#4B33AA #AA3356 #92AA33 #33AA86
split-complementary
#4B33AA #AA8633 #56AA33
monochromatic
#21174C #36257B #4B33AA #6950CA #917FD9

Accessibility & contrast

On white

8.92
#4B33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B33AA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B33AA#FFFFFF#000000##FFFFFF
##4B33AA1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAE
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#1F526A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b33aa;
/* rgb */ color: rgb(75, 51, 170);
/* oklch */ color: oklch(42.6% 0.179 285.1);
Tailwind
colors: {
  custom: {
    50: '#876dc4',
    500: '#4b33aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b33aa;
$custom-light: #876dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b33aa",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 252.101,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42587,
    "c": 0.1794,
    "h": 285.1
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#4B33AA
secondary
#B3C277
accent
#DD4BC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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