#4D33C6#4D33C6

#4D33C6 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.4% C 0.213 H 281.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4D33C6
RGBrgb(77, 51, 198)
HSLhsl(251, 59%, 49%)
HSVhsv(251, 74%, 78%)
CMYKcmyk(61.1%, 74.2%, 0%, 22.4%)
CIE-LABlab(34.03, 51.12, -72.25)
CIE-LCHlch(34.03, 88.51, 305.28°)
OKLaboklab(45.38% 0.0438 -0.2084)
OKLCHoklch(45.38% 0.213 281.9)
XYZxyz(14.4342, 8.0216, 54.2028)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33C6 #ACC633
analogous
#3363C6 #4D33C6 #9733C6
triadic
#4D33C6 #C64D33 #33C64D
tetradic
#4D33C6 #C63363 #ACC633 #33C697
square
#4D33C6 #C63363 #ACC633 #33C697
split-complementary
#4D33C6 #C69733 #63C633
monochromatic
#271A65 #3A2695 #4D33C6 #7560D6 #9F91E3

Accessibility & contrast

On white

8.06
#4D33C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4D33C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33C6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33C6#FFFFFF#000000##FFFFFF
##4D33C61.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d33c6;
/* rgb */ color: rgb(77, 51, 198);
/* oklch */ color: oklch(45.4% 0.213 281.9);
Tailwind
colors: {
  custom: {
    50: '#8d6ed9',
    500: '#4d33c6',
    950: '#000000',
  },
}
SCSS
$custom: #4d33c6;
$custom-light: #8d6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33c6",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 250.612,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.21291,
    "h": 281.9
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#4D33C6
secondary
#C1CD87
accent
#E246C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D33C6

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

Preview Lab → · Contrast checker → · Palette generator →

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