#4D33B3#4D33B3

#4D33B3 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 43.6% C 0.190 H 284.6°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#4D33B3
RGBrgb(77, 51, 179)
HSLhsl(252, 56%, 45%)
HSVhsv(252, 72%, 70%)
CMYKcmyk(57%, 71.5%, 0%, 29.8%)
CIE-LABlab(32.26, 45.44, -63.96)
CIE-LCHlch(32.26, 78.46, 305.39°)
OKLaboklab(43.59% 0.0479 -0.1841)
OKLCHoklch(43.59% 0.19 284.6)
XYZxyz(12.3786, 7.1994, 43.3764)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33B3 #99B333
analogous
#3359B3 #4D33B3 #8D33B3
triadic
#4D33B3 #B34D33 #33B34D
tetradic
#4D33B3 #B33359 #99B333 #33B38D
square
#4D33B3 #B33359 #99B333 #33B38D
split-complementary
#4D33B3 #B38D33 #59B333
monochromatic
#241854 #392583 #4D33B3 #6D55CE #9684DC

Accessibility & contrast

On white

8.61
#4D33B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4D33B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33B3
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33B3#FFFFFF#000000##FFFFFF
##4D33B31.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0048B1
Tritanopia (blue-blind)
#1A556F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d33b3;
/* rgb */ color: rgb(77, 51, 179);
/* oklch */ color: oklch(43.6% 0.190 284.6);
Tailwind
colors: {
  custom: {
    50: '#8a6dcb',
    500: '#4d33b3',
    950: '#000000',
  },
}
SCSS
$custom: #4d33b3;
$custom-light: #8a6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33b3",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 252.188,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43585,
    "c": 0.19024,
    "h": 284.6
  },
  "luminance": 0.072
}

Semantic roles & 50–950 ramp

primary
#4D33B3
secondary
#B7C67C
accent
#DF49C0
background
#F9F6FC
surface
#F1ECF9
border
#CBC7D2
text
#0D0713
muted
#7E7A82

Preview Lab

Preview with #4D33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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