#4D33B1#4D33B1

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

Color values

HEX#4D33B1
RGBrgb(77, 51, 177)
HSLhsl(252, 55%, 45%)
HSVhsv(252, 71%, 69%)
CMYKcmyk(56.5%, 71.2%, 0%, 30.6%)
CIE-LABlab(32.08, 44.84, -63.07)
CIE-LCHlch(32.08, 77.38, 305.41°)
OKLaboklab(43.4% 0.0483 -0.1815)
OKLCHoklch(43.4% 0.188 284.9)
XYZxyz(12.1778, 7.1190, 42.3189)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33B1 #97B133
analogous
#3358B1 #4D33B1 #8C33B1
triadic
#4D33B1 #B14D33 #33B14D
tetradic
#4D33B1 #B13358 #97B133 #33B18C
square
#4D33B1 #B13358 #97B133 #33B18C
split-complementary
#4D33B1 #B18C33 #58B133
monochromatic
#241852 #382581 #4D33B1 #6D54CE #9583DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D33B1#FFFFFF#000000##FFFFFF
##4D33B11.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)
#004FB5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#1D556E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d33b1;
/* rgb */ color: rgb(77, 51, 177);
/* oklch */ color: oklch(43.4% 0.188 284.9);
Tailwind
colors: {
  custom: {
    50: '#896dc9',
    500: '#4d33b1',
    950: '#000000',
  },
}
SCSS
$custom: #4d33b1;
$custom-light: #896dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33b1",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 252.381,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43402,
    "c": 0.18781,
    "h": 284.9
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#4D33B1
secondary
#B6C57B
accent
#DF49C0
background
#F9F6FC
surface
#F1ECF8
border
#CBC7D1
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D33B1

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

Preview Lab → · Contrast checker → · Palette generator →

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