#4D2AE3#4D2AE3

#4D2AE3 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.253 H 279.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#4D2AE3
RGBrgb(77, 42, 227)
HSLhsl(251, 77%, 53%)
HSVhsv(251, 81%, 89%)
CMYKcmyk(66.1%, 81.5%, 0%, 11%)
CIE-LABlab(35.55, 63.58, -86.49)
CIE-LCHlch(35.55, 107.34, 306.32°)
OKLaboklab(47.32% 0.0406 -0.2497)
OKLCHoklch(47.32% 0.253 279.2)
XYZxyz(17.7492, 8.7783, 73.4172)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2AE3 #C0E32A
analogous
#2A64E3 #4D2AE3 #A92AE3
triadic
#4D2AE3 #E34D2A #2AE34D
tetradic
#4D2AE3 #E32A64 #C0E32A #2AE3A9
square
#4D2AE3 #E32A64 #C0E32A #2AE3A9
split-complementary
#4D2AE3 #E3A92A #64E32A
monochromatic
#261182 #3618B8 #4D2AE3 #7A60EA #A796F1

Accessibility & contrast

On white

7.62
#4D2AE3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4D2AE3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2AE3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2AE3#FFFFFF#000000##FFFFFF
##4D2AE31.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE8
Deuteranopia (green-blind)
#004CE0
Tritanopia (blue-blind)
#006589
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4d2ae3;
/* rgb */ color: rgb(77, 42, 227);
/* oklch */ color: oklch(47.3% 0.253 279.2);
Tailwind
colors: {
  custom: {
    50: '#936bed',
    500: '#4d2ae3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ae3;
$custom-light: #936bed;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ae3",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 227
  },
  "hsl": {
    "h": 251.351,
    "s": 76.763,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47319,
    "c": 0.25303,
    "h": 279.2
  },
  "luminance": 0.0878
}

Semantic roles & 50–950 ramp

primary
#4D2AE3
secondary
#CDDC8C
accent
#F334CF
background
#FAF6FE
surface
#F3ECFD
border
#CDC7D5
text
#0F0717
muted
#7F7A85

Preview Lab

Preview with #4D2AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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