#4D30C4#4D30C4

#4D30C4 is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.8% C 0.213 H 282.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#4D30C4
RGBrgb(77, 48, 196)
HSLhsl(252, 61%, 48%)
HSVhsv(252, 76%, 77%)
CMYKcmyk(60.7%, 75.5%, 0%, 23.1%)
CIE-LABlab(33.30, 52.05, -72.28)
CIE-LCHlch(33.30, 89.07, 305.76°)
OKLaboklab(44.81% 0.0463 -0.2084)
OKLCHoklch(44.81% 0.213 282.5)
XYZxyz(14.0782, 7.6762, 52.9536)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30C4 #A7C430
analogous
#305DC4 #4D30C4 #9730C4
triadic
#4D30C4 #C44D30 #30C44D
tetradic
#4D30C4 #C4305D #A7C430 #30C497
square
#4D30C4 #C4305D #A7C430 #30C497
split-complementary
#4D30C4 #C49730 #5DC430
monochromatic
#261862 #3A2493 #4D30C4 #735AD7 #9D8CE3

Accessibility & contrast

On white

8.28
#4D30C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#4D30C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D30C4
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30C4#FFFFFF#000000##FFFFFF
##4D30C41.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C8
Deuteranopia (green-blind)
#0049C1
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d30c4;
/* rgb */ color: rgb(77, 48, 196);
/* oklch */ color: oklch(44.8% 0.213 282.5);
Tailwind
colors: {
  custom: {
    50: '#8d6cd7',
    500: '#4d30c4',
    950: '#000000',
  },
}
SCSS
$custom: #4d30c4;
$custom-light: #8d6cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30c4",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 251.757,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44807,
    "c": 0.21349,
    "h": 282.5
  },
  "luminance": 0.07677
}

Semantic roles & 50–950 ramp

primary
#4D30C4
secondary
#BECD83
accent
#E444C4
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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