#4B33AB#4B33AB

#4B33AB is a dark, vivid violet. Relative luminance 0.068; OKLCH L 42.7% C 0.181 H 285.0°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#4B33AB
RGBrgb(75, 51, 171)
HSLhsl(252, 54%, 44%)
HSVhsv(252, 70%, 67%)
CMYKcmyk(56.1%, 70.2%, 0%, 32.9%)
CIE-LABlab(31.35, 42.71, -60.67)
CIE-LCHlch(31.35, 74.20, 305.15°)
OKLaboklab(42.68% 0.0466 -0.1745)
OKLCHoklch(42.68% 0.181 285)
XYZxyz(11.4339, 6.8031, 39.2308)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B33AB #93AB33
analogous
#3357AB #4B33AB #8733AB
triadic
#4B33AB #AB4B33 #33AB4B
tetradic
#4B33AB #AB3357 #93AB33 #33AB87
square
#4B33AB #AB3357 #93AB33 #33AB87
split-complementary
#4B33AB #AB8733 #57AB33
monochromatic
#22174D #36257C #4B33AB #6950CB #917FD9

Accessibility & contrast

On white

8.90
#4B33AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4B33AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B33AB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B33AB#FFFFFF#000000##FFFFFF
##4B33AB1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAF
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#1E526B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4b33ab;
/* rgb */ color: rgb(75, 51, 171);
/* oklch */ color: oklch(42.7% 0.181 285.0);
Tailwind
colors: {
  custom: {
    50: '#876dc5',
    500: '#4b33ab',
    950: '#000000',
  },
}
SCSS
$custom: #4b33ab;
$custom-light: #876dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b33ab",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 171
  },
  "hsl": {
    "h": 252,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.18064,
    "h": 285
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#4B33AB
secondary
#B3C278
accent
#DD4AC0
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B33AB

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

Preview Lab → · Contrast checker → · Palette generator →

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