#4B33B3#4B33B3

#4B33B3 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.4% C 0.190 H 283.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#4B33B3
RGBrgb(75, 51, 179)
HSLhsl(251, 56%, 45%)
HSVhsv(251, 72%, 70%)
CMYKcmyk(58.1%, 71.5%, 0%, 29.8%)
CIE-LABlab(32.07, 45.14, -64.27)
CIE-LCHlch(32.07, 78.54, 305.09°)
OKLaboklab(43.41% 0.0451 -0.1851)
OKLCHoklch(43.41% 0.19 283.7)
XYZxyz(12.2197, 7.1174, 43.3690)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B33B3 #9BB333
analogous
#335BB3 #4B33B3 #8B33B3
triadic
#4B33B3 #B34B33 #33B34B
tetradic
#4B33B3 #B3335B #9BB333 #33B38B
square
#4B33B3 #B3335B #9BB333 #33B38B
split-complementary
#4B33B3 #B38B33 #5BB333
monochromatic
#231854 #372583 #4B33B3 #6C55CE #9584DC

Accessibility & contrast

On white

8.66
#4B33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4B33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B33B3
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B33B3#FFFFFF#000000##FFFFFF
##4B33B31.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#10556F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b33b3;
/* rgb */ color: rgb(75, 51, 179);
/* oklch */ color: oklch(43.4% 0.190 283.7);
Tailwind
colors: {
  custom: {
    50: '#896dcb',
    500: '#4b33b3',
    950: '#000000',
  },
}
SCSS
$custom: #4b33b3;
$custom-light: #896dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b33b3",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 251.25,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.19048,
    "h": 283.7
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#4B33B3
secondary
#B8C67C
accent
#DF49C3
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4B33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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