#4D33C8#4D33C8

#4D33C8 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.215 H 281.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#4D33C8
RGBrgb(77, 51, 200)
HSLhsl(250, 59%, 49%)
HSVhsv(250, 75%, 78%)
CMYKcmyk(61.5%, 74.5%, 0%, 21.6%)
CIE-LABlab(34.22, 51.72, -73.10)
CIE-LCHlch(34.22, 89.55, 305.28°)
OKLaboklab(45.57% 0.0433 -0.2108)
OKLCHoklch(45.57% 0.215 281.6)
XYZxyz(14.6665, 8.1145, 55.4258)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33C8 #AEC833
analogous
#3363C8 #4D33C8 #9833C8
triadic
#4D33C8 #C84D33 #33C84D
tetradic
#4D33C8 #C83363 #AEC833 #33C898
square
#4D33C8 #C83363 #AEC833 #33C898
split-complementary
#4D33C8 #C89833 #63C833
monochromatic
#271A66 #3A2797 #4D33C8 #7661D7 #A092E3

Accessibility & contrast

On white

8.01
#4D33C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4D33C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33C8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33C8#FFFFFF#000000##FFFFFF
##4D33C81.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d33c8;
/* rgb */ color: rgb(77, 51, 200);
/* oklch */ color: oklch(45.6% 0.215 281.6);
Tailwind
colors: {
  custom: {
    50: '#8d6eda',
    500: '#4d33c8',
    950: '#000000',
  },
}
SCSS
$custom: #4d33c8;
$custom-light: #8d6eda;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33c8",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 200
  },
  "hsl": {
    "h": 250.47,
    "s": 59.363,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.21525,
    "h": 281.6
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#4D33C8
secondary
#C2CE89
accent
#E345C7
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D33C8

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

Preview Lab → · Contrast checker → · Palette generator →

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