#4D33C7#4D33C7

#4D33C7 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.5% C 0.214 H 281.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#4D33C7
RGBrgb(77, 51, 199)
HSLhsl(251, 59%, 49%)
HSVhsv(251, 74%, 78%)
CMYKcmyk(61.3%, 74.4%, 0%, 22%)
CIE-LABlab(34.12, 51.42, -72.68)
CIE-LCHlch(34.12, 89.03, 305.28°)
OKLaboklab(45.48% 0.0435 -0.2096)
OKLCHoklch(45.48% 0.214 281.7)
XYZxyz(14.5500, 8.0679, 54.8123)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33C7 #ADC733
analogous
#3363C7 #4D33C7 #9733C7
triadic
#4D33C7 #C74D33 #33C74D
tetradic
#4D33C7 #C73363 #ADC733 #33C797
square
#4D33C7 #C73363 #ADC733 #33C797
split-complementary
#4D33C7 #C79733 #63C733
monochromatic
#271A66 #3A2796 #4D33C7 #7561D6 #A091E3

Accessibility & contrast

On white

8.03
#4D33C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4D33C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33C7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33C7#FFFFFF#000000##FFFFFF
##4D33C71.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004BC4
Tritanopia (blue-blind)
#005D7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d33c7;
/* rgb */ color: rgb(77, 51, 199);
/* oklch */ color: oklch(45.5% 0.214 281.7);
Tailwind
colors: {
  custom: {
    50: '#8d6ed9',
    500: '#4d33c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d33c7;
$custom-light: #8d6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33c7",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 250.541,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.45475,
    "c": 0.21408,
    "h": 281.7
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#4D33C7
secondary
#C2CE88
accent
#E245C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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