#4D30BC#4D30BC

#4D30BC is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.0% C 0.204 H 283.7°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#4D30BC
RGBrgb(77, 48, 188)
HSLhsl(252, 59%, 46%)
HSVhsv(252, 74%, 74%)
CMYKcmyk(59%, 74.5%, 0%, 26.3%)
CIE-LABlab(32.53, 49.70, -68.85)
CIE-LCHlch(32.53, 84.91, 305.83°)
OKLaboklab(44.03% 0.0482 -0.1984)
OKLCHoklch(44.03% 0.204 283.7)
XYZxyz(13.1918, 7.3217, 48.2853)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30BC #9FBC30
analogous
#3059BC #4D30BC #9330BC
triadic
#4D30BC #BC4D30 #30BC4D
tetradic
#4D30BC #BC3059 #9FBC30 #30BC93
square
#4D30BC #BC3059 #9FBC30 #30BC93
split-complementary
#4D30BC #BC9330 #59BC30
monochromatic
#25175A #39248B #4D30BC #7055D4 #9986E0

Accessibility & contrast

On white

8.52
#4D30BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4D30BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D30BC
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30BC#FFFFFF#000000##FFFFFF
##4D30BC1.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C0
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#035774
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d30bc;
/* rgb */ color: rgb(77, 48, 188);
/* oklch */ color: oklch(44.0% 0.204 283.7);
Tailwind
colors: {
  custom: {
    50: '#8c6cd1',
    500: '#4d30bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d30bc;
$custom-light: #8c6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30bc",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 252.429,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44032,
    "c": 0.20417,
    "h": 283.7
  },
  "luminance": 0.07323
}

Semantic roles & 50–950 ramp

primary
#4D30BC
secondary
#BACA7E
accent
#E345C2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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