#4D33C4#4D33C4

#4D33C4 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.2% C 0.211 H 282.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#4D33C4
RGBrgb(77, 51, 196)
HSLhsl(251, 59%, 48%)
HSVhsv(251, 74%, 77%)
CMYKcmyk(60.7%, 74%, 0%, 23.1%)
CIE-LABlab(33.84, 50.53, -71.40)
CIE-LCHlch(33.84, 87.47, 305.29°)
OKLaboklab(45.18% 0.0443 -0.2059)
OKLCHoklch(45.18% 0.211 282.1)
XYZxyz(14.2051, 7.9300, 52.9959)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33C4 #AAC433
analogous
#3361C4 #4D33C4 #9533C4
triadic
#4D33C4 #C44D33 #33C44D
tetradic
#4D33C4 #C43361 #AAC433 #33C495
square
#4D33C4 #C43361 #AAC433 #33C495
split-complementary
#4D33C4 #C49533 #61C433
monochromatic
#271A63 #3A2693 #4D33C4 #745FD5 #9E8FE2

Accessibility & contrast

On white

8.12
#4D33C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D33C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33C4
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33C4#FFFFFF#000000##FFFFFF
##4D33C41.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d33c4;
/* rgb */ color: rgb(77, 51, 196);
/* oklch */ color: oklch(45.2% 0.211 282.1);
Tailwind
colors: {
  custom: {
    50: '#8d6ed7',
    500: '#4d33c4',
    950: '#000000',
  },
}
SCSS
$custom: #4d33c4;
$custom-light: #8d6ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33c4",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 250.759,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.21056,
    "h": 282.1
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#4D33C4
secondary
#C0CD86
accent
#E246C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4D33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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