#4D2CA4#4D2CA4

#4D2CA4 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.180 H 288.5°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4D2CA4
RGBrgb(77, 44, 164)
HSLhsl(257, 58%, 41%)
HSVhsv(257, 73%, 64%)
CMYKcmyk(53%, 73.2%, 0%, 35.7%)
CIE-LABlab(29.56, 44.74, -59.39)
CIE-LCHlch(29.56, 74.36, 307.00°)
OKLaboklab(41.26% 0.057 -0.1707)
OKLCHoklch(41.26% 0.18 288.5)
XYZxyz(10.6601, 6.0590, 35.7226)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CA4 #83A42C
analogous
#2C47A4 #4D2CA4 #892CA4
triadic
#4D2CA4 #A44D2C #2CA44D
tetradic
#4D2CA4 #A42C47 #83A42C #2CA489
square
#4D2CA4 #A42C47 #83A42C #2CA489
split-complementary
#4D2CA4 #A4892C #47A42C
monochromatic
#201243 #361F74 #4D2CA4 #6741CC #8E71D9

Accessibility & contrast

On white

9.49
#4D2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4D2CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CA4
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CA4#FFFFFF#000000##FFFFFF
##4D2CA41.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#2C4C65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d2ca4;
/* rgb */ color: rgb(77, 44, 164);
/* oklch */ color: oklch(41.3% 0.180 288.5);
Tailwind
colors: {
  custom: {
    50: '#8868c0',
    500: '#4d2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ca4;
$custom-light: #8868c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ca4",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 256.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41256,
    "c": 0.17994,
    "h": 288.5
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#4D2CA4
secondary
#A9C06B
accent
#E147B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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