#4D2AC3#4D2AC3

#4D2AC3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.218 H 283.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4D2AC3
RGBrgb(77, 42, 195)
HSLhsl(254, 65%, 46%)
HSVhsv(254, 78%, 76%)
CMYKcmyk(60.5%, 78.5%, 0%, 23.5%)
CIE-LABlab(32.20, 54.64, -73.51)
CIE-LCHlch(32.20, 91.59, 306.62°)
OKLaboklab(44.01% 0.0503 -0.212)
OKLCHoklch(44.01% 0.218 283.3)
XYZxyz(13.7358, 7.1729, 52.2799)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2AC3 #A0C32A
analogous
#2A54C3 #4D2AC3 #9A2AC3
triadic
#4D2AC3 #C34D2A #2AC34D
tetradic
#4D2AC3 #C32A54 #A0C32A #2AC39A
square
#4D2AC3 #C32A54 #A0C32A #2AC39A
split-complementary
#4D2AC3 #C39A2A #54C32A
monochromatic
#25145E #391F91 #4D2AC3 #7051D9 #9983E4

Accessibility & contrast

On white

8.62
#4D2AC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4D2AC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2AC3
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2AC3#FFFFFF#000000##FFFFFF
##4D2AC31.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d2ac3;
/* rgb */ color: rgb(77, 42, 195);
/* oklch */ color: oklch(44.0% 0.218 283.3);
Tailwind
colors: {
  custom: {
    50: '#8d69d6',
    500: '#4d2ac3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ac3;
$custom-light: #8d69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ac3",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 195
  },
  "hsl": {
    "h": 253.725,
    "s": 64.557,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44007,
    "c": 0.21784,
    "h": 283.3
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#4D2AC3
secondary
#BBCD7B
accent
#E840C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4D2AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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