#4D33C9#4D33C9

#4D33C9 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.7% C 0.216 H 281.5°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#4D33C9
RGBrgb(77, 51, 201)
HSLhsl(250, 60%, 49%)
HSVhsv(250, 75%, 79%)
CMYKcmyk(61.7%, 74.6%, 0%, 21.2%)
CIE-LABlab(34.32, 52.01, -73.53)
CIE-LCHlch(34.32, 90.07, 305.28°)
OKLaboklab(45.67% 0.0431 -0.2121)
OKLCHoklch(45.67% 0.216 281.5)
XYZxyz(14.7837, 8.1614, 56.0433)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33C9 #AFC933
analogous
#3364C9 #4D33C9 #9833C9
triadic
#4D33C9 #C94D33 #33C94D
tetradic
#4D33C9 #C93364 #AFC933 #33C998
square
#4D33C9 #C93364 #AFC933 #33C998
split-complementary
#4D33C9 #C99833 #64C933
monochromatic
#281A67 #3A2798 #4D33C9 #7662D7 #A193E4

Accessibility & contrast

On white

7.98
#4D33C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#4D33C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33C9
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33C9#FFFFFF#000000##FFFFFF
##4D33C91.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#005E7C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4d33c9;
/* rgb */ color: rgb(77, 51, 201);
/* oklch */ color: oklch(45.7% 0.216 281.5);
Tailwind
colors: {
  custom: {
    50: '#8e6edb',
    500: '#4d33c9',
    950: '#000000',
  },
}
SCSS
$custom: #4d33c9;
$custom-light: #8e6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33c9",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 250.4,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45669,
    "c": 0.21642,
    "h": 281.5
  },
  "luminance": 0.08162
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D33C9

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

Preview Lab → · Contrast checker → · Palette generator →

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