#4D34BE#4D34BE

#4D34BE is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.7% C 0.202 H 282.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#4D34BE
RGBrgb(77, 52, 190)
HSLhsl(251, 57%, 47%)
HSVhsv(251, 73%, 75%)
CMYKcmyk(59.5%, 72.6%, 0%, 25.5%)
CIE-LABlab(33.46, 48.21, -68.50)
CIE-LCHlch(33.46, 83.76, 305.14°)
OKLaboklab(44.75% 0.0449 -0.1974)
OKLCHoklch(44.75% 0.202 282.8)
XYZxyz(13.5799, 7.7506, 49.4856)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34BE #A5BE34
analogous
#3460BE #4D34BE #9234BE
triadic
#4D34BE #BE4D34 #34BE4D
tetradic
#4D34BE #BE3460 #A5BE34 #34BE92
square
#4D34BE #BE3460 #A5BE34 #34BE92
split-complementary
#4D34BE #BE9234 #60BE34
monochromatic
#261A5E #3A278E #4D34BE #725DD3 #9C8DE0

Accessibility & contrast

On white

8.23
#4D34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4D34BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D34BE
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34BE#FFFFFF#000000##FFFFFF
##4D34BE1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d34be;
/* rgb */ color: rgb(77, 52, 190);
/* oklch */ color: oklch(44.7% 0.202 282.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ed3',
    500: '#4d34be',
    950: '#000000',
  },
}
SCSS
$custom: #4d34be;
$custom-light: #8c6ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34be",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 250.87,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.44746,
    "c": 0.20243,
    "h": 282.8
  },
  "luminance": 0.07751
}

Semantic roles & 50–950 ramp

primary
#4D34BE
secondary
#BDCA84
accent
#E048C5
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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