#4D34BB#4D34BB

#4D34BB is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.5% C 0.199 H 283.2°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4D34BB
RGBrgb(77, 52, 187)
HSLhsl(251, 56%, 47%)
HSVhsv(251, 72%, 73%)
CMYKcmyk(58.8%, 72.2%, 0%, 26.7%)
CIE-LABlab(33.18, 47.31, -67.18)
CIE-LCHlch(33.18, 82.17, 305.15°)
OKLaboklab(44.47% 0.0455 -0.1935)
OKLCHoklch(44.47% 0.199 283.2)
XYZxyz(13.2554, 7.6208, 47.7765)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34BB #A2BB34
analogous
#345FBB #4D34BB #9134BB
triadic
#4D34BB #BB4D34 #34BB4D
tetradic
#4D34BB #BB345F #A2BB34 #34BB91
square
#4D34BB #BB345F #A2BB34 #34BB91
split-complementary
#4D34BB #BB9134 #5FBB34
monochromatic
#26195B #39278B #4D34BB #715BD1 #9A8BDF

Accessibility & contrast

On white

8.32
#4D34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4D34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D34BB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34BB#FFFFFF#000000##FFFFFF
##4D34BB1.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0049B8
Tritanopia (blue-blind)
#065974
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d34bb;
/* rgb */ color: rgb(77, 52, 187);
/* oklch */ color: oklch(44.5% 0.199 283.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ed1',
    500: '#4d34bb',
    950: '#000000',
  },
}
SCSS
$custom: #4d34bb;
$custom-light: #8b6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34bb",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 251.111,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.44465,
    "c": 0.19883,
    "h": 283.2
  },
  "luminance": 0.07622
}

Semantic roles & 50–950 ramp

primary
#4D34BB
secondary
#BCC982
accent
#E048C4
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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