#4D33AA#4D33AA

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

Color values

HEX#4D33AA
RGBrgb(77, 51, 170)
HSLhsl(253, 54%, 43%)
HSVhsv(253, 70%, 67%)
CMYKcmyk(54.7%, 70%, 0%, 33.3%)
CIE-LABlab(31.46, 42.73, -59.90)
CIE-LCHlch(31.46, 73.58, 305.50°)
OKLaboklab(42.77% 0.0497 -0.1722)
OKLCHoklch(42.77% 0.179 286.1)
XYZxyz(11.4979, 6.8471, 38.7382)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33AA #90AA33
analogous
#3354AA #4D33AA #8833AA
triadic
#4D33AA #AA4D33 #33AA4D
tetradic
#4D33AA #AA3354 #90AA33 #33AA88
square
#4D33AA #AA3354 #90AA33 #33AA88
split-complementary
#4D33AA #AA8833 #54AA33
monochromatic
#22174C #38257B #4D33AA #6B50CA #927FD9

Accessibility & contrast

On white

8.86
#4D33AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4D33AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33AA
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33AA#FFFFFF#000000##FFFFFF
##4D33AA1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d33aa;
/* rgb */ color: rgb(77, 51, 170);
/* oklch */ color: oklch(42.8% 0.179 286.1);
Tailwind
colors: {
  custom: {
    50: '#886dc4',
    500: '#4d33aa',
    950: '#000000',
  },
}
SCSS
$custom: #4d33aa;
$custom-light: #886dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33aa",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 170
  },
  "hsl": {
    "h": 253.109,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42769,
    "c": 0.17921,
    "h": 286.1
  },
  "luminance": 0.06848
}

Semantic roles & 50–950 ramp

primary
#4D33AA
secondary
#B1C277
accent
#DD4BBD
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4D33AA

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

Preview Lab → · Contrast checker → · Palette generator →

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