#4D30C0#4D30C0

#4D30C0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.4% C 0.209 H 283.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4D30C0
RGBrgb(77, 48, 192)
HSLhsl(252, 60%, 47%)
HSVhsv(252, 75%, 75%)
CMYKcmyk(59.9%, 75%, 0%, 24.7%)
CIE-LABlab(32.91, 50.88, -70.57)
CIE-LCHlch(32.91, 87.00, 305.79°)
OKLaboklab(44.42% 0.0473 -0.2034)
OKLCHoklch(44.42% 0.209 283.1)
XYZxyz(13.6290, 7.4965, 50.5877)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30C0 #A3C030
analogous
#305BC0 #4D30C0 #9530C0
triadic
#4D30C0 #C04D30 #30C04D
tetradic
#4D30C0 #C0305B #A3C030 #30C095
square
#4D30C0 #C0305B #A3C030 #30C095
split-complementary
#4D30C0 #C09530 #5BC030
monochromatic
#26185E #39248F #4D30C0 #7158D5 #9B89E1

Accessibility & contrast

On white

8.40
#4D30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4D30C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D30C0
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30C0#FFFFFF#000000##FFFFFF
##4D30C01.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0048BD
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d30c0;
/* rgb */ color: rgb(77, 48, 192);
/* oklch */ color: oklch(44.4% 0.209 283.1);
Tailwind
colors: {
  custom: {
    50: '#8c6cd4',
    500: '#4d30c0',
    950: '#000000',
  },
}
SCSS
$custom: #4d30c0;
$custom-light: #8c6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30c0",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 252.083,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44418,
    "c": 0.20885,
    "h": 283.1
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#4D30C0
secondary
#BCCB80
accent
#E345C3
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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