#4D2CA0#4D2CA0

#4D2CA0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.175 H 289.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4D2CA0
RGBrgb(77, 44, 160)
HSLhsl(257, 57%, 40%)
HSVhsv(257, 73%, 63%)
CMYKcmyk(51.9%, 72.5%, 0%, 37.3%)
CIE-LABlab(29.20, 43.58, -57.55)
CIE-LCHlch(29.20, 72.19, 307.13°)
OKLaboklab(40.89% 0.0579 -0.1653)
OKLCHoklch(40.89% 0.175 289.3)
XYZxyz(10.3046, 5.9168, 33.8500)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CA0 #7FA02C
analogous
#2C45A0 #4D2CA0 #872CA0
triadic
#4D2CA0 #A04D2C #2CA04D
tetradic
#4D2CA0 #A02C45 #7FA02C #2CA087
square
#4D2CA0 #A02C45 #7FA02C #2CA087
split-complementary
#4D2CA0 #A0872C #45A02C
monochromatic
#1F1240 #361F70 #4D2CA0 #673FCA #8D6FD7

Accessibility & contrast

On white

9.62
#4D2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4D2CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CA0
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CA0#FFFFFF#000000##FFFFFF
##4D2CA01.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#2F4B63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4d2ca0;
/* rgb */ color: rgb(77, 44, 160);
/* oklch */ color: oklch(40.9% 0.175 289.3);
Tailwind
colors: {
  custom: {
    50: '#8768bd',
    500: '#4d2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ca0;
$custom-light: #8768bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ca0",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 257.069,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.40891,
    "c": 0.17514,
    "h": 289.3
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#4D2CA0
secondary
#A6BF69
accent
#E048B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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