#4D34BC#4D34BC

#4D34BC is a dark, highly saturated violet. Relative luminance 0.077; OKLCH L 44.6% C 0.200 H 283.1°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#4D34BC
RGBrgb(77, 52, 188)
HSLhsl(251, 57%, 47%)
HSVhsv(251, 72%, 74%)
CMYKcmyk(59%, 72.3%, 0%, 26.3%)
CIE-LABlab(33.27, 47.61, -67.62)
CIE-LCHlch(33.27, 82.70, 305.15°)
OKLaboklab(44.56% 0.0453 -0.1948)
OKLCHoklch(44.56% 0.2 283.1)
XYZxyz(13.3629, 7.6637, 48.3423)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34BC #A3BC34
analogous
#345FBC #4D34BC #9134BC
triadic
#4D34BC #BC4D34 #34BC4D
tetradic
#4D34BC #BC345F #A3BC34 #34BC91
square
#4D34BC #BC345F #A3BC34 #34BC91
split-complementary
#4D34BC #BC9134 #5FBC34
monochromatic
#26195C #39278C #4D34BC #715BD2 #9B8BDF

Accessibility & contrast

On white

8.29
#4D34BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D34BC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34BC#FFFFFF#000000##FFFFFF
##4D34BC1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C0
Deuteranopia (green-blind)
#004AB9
Tritanopia (blue-blind)
#025975
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4d34bc;
/* rgb */ color: rgb(77, 52, 188);
/* oklch */ color: oklch(44.6% 0.200 283.1);
Tailwind
colors: {
  custom: {
    50: '#8b6ed1',
    500: '#4d34bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d34bc;
$custom-light: #8b6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34bc",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 251.029,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44558,
    "c": 0.20003,
    "h": 283.1
  },
  "luminance": 0.07665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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