#4D30BB#4D30BB

#4D30BB is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 43.9% C 0.203 H 283.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#4D30BB
RGBrgb(77, 48, 187)
HSLhsl(253, 59%, 46%)
HSVhsv(253, 74%, 73%)
CMYKcmyk(58.8%, 74.3%, 0%, 26.7%)
CIE-LABlab(32.43, 49.41, -68.41)
CIE-LCHlch(32.43, 84.39, 305.84°)
OKLaboklab(43.94% 0.0485 -0.1971)
OKLCHoklch(43.94% 0.203 283.8)
XYZxyz(13.0844, 7.2787, 47.7195)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D30BB #9EBB30
analogous
#3058BB #4D30BB #9230BB
triadic
#4D30BB #BB4D30 #30BB4D
tetradic
#4D30BB #BB3058 #9EBB30 #30BB92
square
#4D30BB #BB3058 #9EBB30 #30BB92
split-complementary
#4D30BB #BB9230 #58BB30
monochromatic
#25175A #39238A #4D30BB #6F55D3 #9886E0

Accessibility & contrast

On white

8.55
#4D30BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D30BB
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D30BB#FFFFFF#000000##FFFFFF
##4D30BB1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#0048B8
Tritanopia (blue-blind)
#075773
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d30bb;
/* rgb */ color: rgb(77, 48, 187);
/* oklch */ color: oklch(43.9% 0.203 283.8);
Tailwind
colors: {
  custom: {
    50: '#8b6cd1',
    500: '#4d30bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d30bb;
$custom-light: #8b6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d30bb",
  "rgb": {
    "r": 77,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 252.518,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.20299,
    "h": 283.8
  },
  "luminance": 0.0728
}

Semantic roles & 50–950 ramp

primary
#4D30BB
secondary
#BAC97D
accent
#E245C2
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D30BB

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

Preview Lab → · Contrast checker → · Palette generator →

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