#4D34BF#4D34BF

#4D34BF is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.8% C 0.204 H 282.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#4D34BF
RGBrgb(77, 52, 191)
HSLhsl(251, 57%, 48%)
HSVhsv(251, 73%, 75%)
CMYKcmyk(59.7%, 72.8%, 0%, 25.1%)
CIE-LABlab(33.55, 48.51, -68.93)
CIE-LCHlch(33.55, 84.29, 305.14°)
OKLaboklab(44.84% 0.0447 -0.1987)
OKLCHoklch(44.84% 0.204 282.7)
XYZxyz(13.6896, 7.7944, 50.0632)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34BF #A6BF34
analogous
#3461BF #4D34BF #9234BF
triadic
#4D34BF #BF4D34 #34BF4D
tetradic
#4D34BF #BF3461 #A6BF34 #34BF92
square
#4D34BF #BF3461 #A6BF34 #34BF92
split-complementary
#4D34BF #BF9234 #61BF34
monochromatic
#261A5F #3A278F #4D34BF #725DD3 #9C8DE0

Accessibility & contrast

On white

8.21
#4D34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#4D34BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D34BF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34BF#FFFFFF#000000##FFFFFF
##4D34BF1.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004ABC
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d34bf;
/* rgb */ color: rgb(77, 52, 191);
/* oklch */ color: oklch(44.8% 0.204 282.7);
Tailwind
colors: {
  custom: {
    50: '#8c6ed3',
    500: '#4d34bf',
    950: '#000000',
  },
}
SCSS
$custom: #4d34bf;
$custom-light: #8c6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34bf",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 250.791,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.20362,
    "h": 282.7
  },
  "luminance": 0.07795
}

Semantic roles & 50–950 ramp

primary
#4D34BF
secondary
#BECA84
accent
#E047C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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