#4D34C0#4D34C0

#4D34C0 is a dark, highly saturated violet. Relative luminance 0.078; OKLCH L 44.9% C 0.205 H 282.5°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#4D34C0
RGBrgb(77, 52, 192)
HSLhsl(251, 57%, 48%)
HSVhsv(251, 73%, 75%)
CMYKcmyk(59.9%, 72.9%, 0%, 24.7%)
CIE-LABlab(33.64, 48.81, -69.37)
CIE-LCHlch(33.64, 84.82, 305.13°)
OKLaboklab(44.94% 0.0444 -0.1999)
OKLCHoklch(44.94% 0.205 282.5)
XYZxyz(13.8000, 7.8386, 50.6448)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34C0 #A7C034
analogous
#3461C0 #4D34C0 #9334C0
triadic
#4D34C0 #C04D34 #34C04D
tetradic
#4D34C0 #C03461 #A7C034 #34C093
square
#4D34C0 #C03461 #A7C034 #34C093
split-complementary
#4D34C0 #C09334 #61C034
monochromatic
#261A60 #3A2790 #4D34C0 #735ED3 #9D8EE0

Accessibility & contrast

On white

8.18
#4D34C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#4D34C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D34C0
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34C0#FFFFFF#000000##FFFFFF
##4D34C01.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C4
Deuteranopia (green-blind)
#004ABD
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4d34c0;
/* rgb */ color: rgb(77, 52, 192);
/* oklch */ color: oklch(44.9% 0.205 282.5);
Tailwind
colors: {
  custom: {
    50: '#8c6ed4',
    500: '#4d34c0',
    950: '#000000',
  },
}
SCSS
$custom: #4d34c0;
$custom-light: #8c6ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34c0",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 250.714,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44935,
    "c": 0.20481,
    "h": 282.5
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#4D34C0
secondary
#BECB85
accent
#E147C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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