#4D33C2#4D33C2

#4D33C2 is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 45.0% C 0.208 H 282.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4D33C2
RGBrgb(77, 51, 194)
HSLhsl(251, 58%, 48%)
HSVhsv(251, 74%, 76%)
CMYKcmyk(60.3%, 73.7%, 0%, 23.9%)
CIE-LABlab(33.65, 49.93, -70.54)
CIE-LCHlch(33.65, 86.42, 305.29°)
OKLaboklab(44.99% 0.0447 -0.2033)
OKLCHoklch(44.99% 0.208 282.4)
XYZxyz(13.9790, 7.8395, 51.8050)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D33C2 #A8C233
analogous
#3360C2 #4D33C2 #9433C2
triadic
#4D33C2 #C24D33 #33C24D
tetradic
#4D33C2 #C23360 #A8C233 #33C294
square
#4D33C2 #C23360 #A8C233 #33C294
split-complementary
#4D33C2 #C29433 #60C233
monochromatic
#271A61 #3A2692 #4D33C2 #735ED5 #9D8EE1

Accessibility & contrast

On white

8.18
#4D33C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4D33C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D33C2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D33C2#FFFFFF#000000##FFFFFF
##4D33C21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d33c2;
/* rgb */ color: rgb(77, 51, 194);
/* oklch */ color: oklch(45.0% 0.208 282.4);
Tailwind
colors: {
  custom: {
    50: '#8c6ed6',
    500: '#4d33c2',
    950: '#000000',
  },
}
SCSS
$custom: #4d33c2;
$custom-light: #8c6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d33c2",
  "rgb": {
    "r": 77,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 250.909,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44994,
    "c": 0.20821,
    "h": 282.4
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#4D33C2
secondary
#BFCC85
accent
#E246C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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