#4D34C3#4D34C3

#4D34C3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.2% C 0.208 H 282.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#4D34C3
RGBrgb(77, 52, 195)
HSLhsl(250, 58%, 48%)
HSVhsv(250, 73%, 76%)
CMYKcmyk(60.5%, 73.3%, 0%, 23.5%)
CIE-LABlab(33.93, 49.71, -70.66)
CIE-LCHlch(33.93, 86.40, 305.13°)
OKLaboklab(45.22% 0.0438 -0.2037)
OKLCHoklch(45.22% 0.208 282.1)
XYZxyz(14.1358, 7.9729, 52.4132)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D34C3 #AAC334
analogous
#3462C3 #4D34C3 #9534C3
triadic
#4D34C3 #C34D34 #34C34D
tetradic
#4D34C3 #C33462 #AAC334 #34C395
square
#4D34C3 #C33462 #AAC334 #34C395
split-complementary
#4D34C3 #C39534 #62C334
monochromatic
#271A62 #3A2793 #4D34C3 #7460D5 #9E90E1

Accessibility & contrast

On white

8.09
#4D34C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4D34C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D34C3
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D34C3#FFFFFF#000000##FFFFFF
##4D34C31.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4d34c3;
/* rgb */ color: rgb(77, 52, 195);
/* oklch */ color: oklch(45.2% 0.208 282.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ed6',
    500: '#4d34c3',
    950: '#000000',
  },
}
SCSS
$custom: #4d34c3;
$custom-light: #8c6ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d34c3",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 250.49,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.20838,
    "h": 282.1
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#4D34C3
secondary
#C0CC87
accent
#E147C6
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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