#4D2DA0#4D2DA0

#4D2DA0 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.174 H 289.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4D2DA0
RGBrgb(77, 45, 160)
HSLhsl(257, 56%, 40%)
HSVhsv(257, 72%, 63%)
CMYKcmyk(51.9%, 71.9%, 0%, 37.3%)
CIE-LABlab(29.39, 43.05, -57.24)
CIE-LCHlch(29.39, 71.62, 306.94°)
OKLaboklab(41.03% 0.057 -0.1644)
OKLCHoklch(41.03% 0.174 289.1)
XYZxyz(10.3423, 5.9922, 33.8625)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2DA0 #80A02D
analogous
#2D46A0 #4D2DA0 #872DA0
triadic
#4D2DA0 #A04D2D #2DA04D
tetradic
#4D2DA0 #A02D46 #80A02D #2DA087
square
#4D2DA0 #A02D46 #80A02D #2DA087
split-complementary
#4D2DA0 #A0872D #46A02D
monochromatic
#1F1240 #362070 #4D2DA0 #6741C9 #8D70D7

Accessibility & contrast

On white

9.55
#4D2DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2DA0
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2DA0#FFFFFF#000000##FFFFFF
##4D2DA01.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2da0;
/* rgb */ color: rgb(77, 45, 160);
/* oklch */ color: oklch(41.0% 0.174 289.1);
Tailwind
colors: {
  custom: {
    50: '#8769bd',
    500: '#4d2da0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2da0;
$custom-light: #8769bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2da0",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 256.696,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41027,
    "c": 0.17398,
    "h": 289.1
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#4D2DA0
secondary
#A7BE6B
accent
#DF48B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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