#4D2CA3#4D2CA3

#4D2CA3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.179 H 288.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4D2CA3
RGBrgb(77, 44, 163)
HSLhsl(257, 57%, 41%)
HSVhsv(257, 73%, 64%)
CMYKcmyk(52.8%, 73%, 0%, 36.1%)
CIE-LABlab(29.47, 44.45, -58.93)
CIE-LCHlch(29.47, 73.82, 307.03°)
OKLaboklab(41.16% 0.0572 -0.1693)
OKLCHoklch(41.16% 0.179 288.7)
XYZxyz(10.5702, 6.0230, 35.2488)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CA3 #82A32C
analogous
#2C46A3 #4D2CA3 #882CA3
triadic
#4D2CA3 #A34D2C #2CA34D
tetradic
#4D2CA3 #A32C46 #82A32C #2CA388
square
#4D2CA3 #A32C46 #82A32C #2CA388
split-complementary
#4D2CA3 #A3882C #46A32C
monochromatic
#1F1243 #361F73 #4D2CA3 #6741CC #8E71D9

Accessibility & contrast

On white

9.53
#4D2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4D2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CA3
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CA3#FFFFFF#000000##FFFFFF
##4D2CA31.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#2D4C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d2ca3;
/* rgb */ color: rgb(77, 44, 163);
/* oklch */ color: oklch(41.2% 0.179 288.7);
Tailwind
colors: {
  custom: {
    50: '#8868bf',
    500: '#4d2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ca3;
$custom-light: #8868bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ca3",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 256.639,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41164,
    "c": 0.17874,
    "h": 288.7
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#4D2CA3
secondary
#A8C06B
accent
#E147B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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