#4D2AC1#4D2AC1

#4D2AC1 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.216 H 283.6°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4D2AC1
RGBrgb(77, 42, 193)
HSLhsl(254, 64%, 46%)
HSVhsv(254, 78%, 76%)
CMYKcmyk(60.1%, 78.2%, 0%, 24.3%)
CIE-LABlab(32.00, 54.07, -72.67)
CIE-LCHlch(32.00, 90.58, 306.65°)
OKLaboklab(43.81% 0.0508 -0.2095)
OKLCHoklch(43.81% 0.216 283.6)
XYZxyz(13.5112, 7.0831, 51.0969)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2AC1 #9EC12A
analogous
#2A53C1 #4D2AC1 #982AC1
triadic
#4D2AC1 #C14D2A #2AC14D
tetradic
#4D2AC1 #C12A53 #9EC12A #2AC198
square
#4D2AC1 #C12A53 #9EC12A #2AC198
split-complementary
#4D2AC1 #C1982A #53C12A
monochromatic
#25145C #391F8F #4D2AC1 #6F4FD9 #9882E4

Accessibility & contrast

On white

8.69
#4D2AC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4D2AC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2AC1
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2AC1#FFFFFF#000000##FFFFFF
##4D2AC11.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d2ac1;
/* rgb */ color: rgb(77, 42, 193);
/* oklch */ color: oklch(43.8% 0.216 283.6);
Tailwind
colors: {
  custom: {
    50: '#8d69d5',
    500: '#4d2ac1',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ac1;
$custom-light: #8d69d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ac1",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 253.907,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43806,
    "c": 0.21558,
    "h": 283.6
  },
  "luminance": 0.07084
}

Semantic roles & 50–950 ramp

primary
#4D2AC1
secondary
#BACD7A
accent
#E741C1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4D2AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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