#4D30C7#4D30C7

#4D30C7 is a mid, highly saturated violet. Relative luminance 0.078; OKLCH L 45.1% C 0.217 H 282.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#4D30C7
RGBrgb(77, 48, 199)
HSLhsl(252, 61%, 48%)
HSVhsv(252, 76%, 78%)
CMYKcmyk(61.3%, 75.9%, 0%, 22%)
CIE-LABlab(33.59, 52.93, -73.55)
CIE-LCHlch(33.59, 90.62, 305.74°)
OKLaboklab(45.1% 0.0455 -0.2121)
OKLCHoklch(45.1% 0.217 282.1)
XYZxyz(14.4231, 7.8142, 54.7700)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30C7 #AAC730
analogous
#305EC7 #4D30C7 #9830C7
triadic
#4D30C7 #C74D30 #30C74D
tetradic
#4D30C7 #C7305E #AAC730 #30C798
square
#4D30C7 #C7305E #AAC730 #30C798
split-complementary
#4D30C7 #C79830 #5EC730
monochromatic
#271864 #3A2496 #4D30C7 #745CD8 #9E8EE4

Accessibility & contrast

On white

8.19
#4D30C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D30C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D30C7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30C7#FFFFFF#000000##FFFFFF
##4D30C71.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#005C7A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d30c7;
/* rgb */ color: rgb(77, 48, 199);
/* oklch */ color: oklch(45.1% 0.217 282.1);
Tailwind
colors: {
  custom: {
    50: '#8d6cd9',
    500: '#4d30c7',
    950: '#000000',
  },
}
SCSS
$custom: #4d30c7;
$custom-light: #8d6cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30c7",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 251.523,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45101,
    "c": 0.21696,
    "h": 282.1
  },
  "luminance": 0.07815
}

Semantic roles & 50–950 ramp

primary
#4D30C7
secondary
#C0CE85
accent
#E444C5
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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