#4D30C3#4D30C3

#4D30C3 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.7% C 0.212 H 282.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#4D30C3
RGBrgb(77, 48, 195)
HSLhsl(252, 60%, 48%)
HSVhsv(252, 75%, 76%)
CMYKcmyk(60.5%, 75.4%, 0%, 23.5%)
CIE-LABlab(33.20, 51.76, -71.86)
CIE-LCHlch(33.20, 88.56, 305.77°)
OKLaboklab(44.71% 0.0465 -0.2072)
OKLCHoklch(44.71% 0.212 282.6)
XYZxyz(13.9648, 7.6309, 52.3562)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30C3 #A6C330
analogous
#305CC3 #4D30C3 #9730C3
triadic
#4D30C3 #C34D30 #30C34D
tetradic
#4D30C3 #C3305C #A6C330 #30C397
square
#4D30C3 #C3305C #A6C330 #30C397
split-complementary
#4D30C3 #C39730 #5CC330
monochromatic
#261861 #3A2492 #4D30C3 #725AD6 #9C8BE2

Accessibility & contrast

On white

8.31
#4D30C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D30C3
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30C3#FFFFFF#000000##FFFFFF
##4D30C31.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d30c3;
/* rgb */ color: rgb(77, 48, 195);
/* oklch */ color: oklch(44.7% 0.212 282.6);
Tailwind
colors: {
  custom: {
    50: '#8d6cd6',
    500: '#4d30c3',
    950: '#000000',
  },
}
SCSS
$custom: #4d30c3;
$custom-light: #8d6cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30c3",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 195
  },
  "hsl": {
    "h": 251.837,
    "s": 60.494,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44709,
    "c": 0.21233,
    "h": 282.6
  },
  "luminance": 0.07632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D30C3

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

Preview Lab → · Contrast checker → · Palette generator →

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