#4D32C0#4D32C0

#4D32C0 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.7% C 0.207 H 282.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4D32C0
RGBrgb(77, 50, 192)
HSLhsl(251, 59%, 47%)
HSVhsv(251, 74%, 75%)
CMYKcmyk(59.9%, 74%, 0%, 24.7%)
CIE-LABlab(33.27, 49.86, -69.98)
CIE-LCHlch(33.27, 85.92, 305.47°)
OKLaboklab(44.67% 0.0459 -0.2017)
OKLCHoklch(44.67% 0.207 282.8)
XYZxyz(13.7126, 7.6638, 50.6156)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D32C0 #A5C032
analogous
#325EC0 #4D32C0 #9432C0
triadic
#4D32C0 #C04D32 #32C04D
tetradic
#4D32C0 #C0325E #A5C032 #32C094
square
#4D32C0 #C0325E #A5C032 #32C094
split-complementary
#4D32C0 #C09432 #5EC032
monochromatic
#26195F #3A258F #4D32C0 #725BD4 #9C8BE1

Accessibility & contrast

On white

8.29
#4D32C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#4D32C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D32C0
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D32C0#FFFFFF#000000##FFFFFF
##4D32C01.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d32c0;
/* rgb */ color: rgb(77, 50, 192);
/* oklch */ color: oklch(44.7% 0.207 282.8);
Tailwind
colors: {
  custom: {
    50: '#8c6dd4',
    500: '#4d32c0',
    950: '#000000',
  },
}
SCSS
$custom: #4d32c0;
$custom-light: #8c6dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d32c0",
  "rgb": {
    "r": 77,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 251.408,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.20686,
    "h": 282.8
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

primary
#4D32C0
secondary
#BDCB83
accent
#E246C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D32C0

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

Preview Lab → · Contrast checker → · Palette generator →

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