#4D33C3#4D33C3

#4D33C3 is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.1% C 0.209 H 282.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#4D33C3
RGBrgb(77, 51, 195)
HSLhsl(251, 59%, 48%)
HSVhsv(251, 74%, 76%)
CMYKcmyk(60.5%, 73.8%, 0%, 23.5%)
CIE-LABlab(33.74, 50.23, -70.97)
CIE-LCHlch(33.74, 86.95, 305.29°)
OKLaboklab(45.09% 0.0445 -0.2046)
OKLCHoklch(45.09% 0.209 282.3)
XYZxyz(14.0916, 7.8846, 52.3985)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33C3 #A9C333
analogous
#3361C3 #4D33C3 #9533C3
triadic
#4D33C3 #C34D33 #33C34D
tetradic
#4D33C3 #C33361 #A9C333 #33C395
square
#4D33C3 #C33361 #A9C333 #33C395
split-complementary
#4D33C3 #C39533 #61C333
monochromatic
#271A62 #3A2692 #4D33C3 #745ED5 #9E8FE2

Accessibility & contrast

On white

8.15
#4D33C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4D33C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33C3
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33C3#FFFFFF#000000##FFFFFF
##4D33C31.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d33c3;
/* rgb */ color: rgb(77, 51, 195);
/* oklch */ color: oklch(45.1% 0.209 282.3);
Tailwind
colors: {
  custom: {
    50: '#8d6ed6',
    500: '#4d33c3',
    950: '#000000',
  },
}
SCSS
$custom: #4d33c3;
$custom-light: #8d6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33c3",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 195
  },
  "hsl": {
    "h": 250.833,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.20939,
    "h": 282.3
  },
  "luminance": 0.07886
}

Semantic roles & 50–950 ramp

primary
#4D33C3
secondary
#BFCC86
accent
#E246C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D33C3

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

Preview Lab → · Contrast checker → · Palette generator →

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