#4D2BA3#4D2BA3

#4D2BA3 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.180 H 288.8°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4D2BA3
RGBrgb(77, 43, 163)
HSLhsl(257, 58%, 40%)
HSVhsv(257, 74%, 64%)
CMYKcmyk(52.8%, 73.6%, 0%, 36.1%)
CIE-LABlab(29.28, 44.98, -59.24)
CIE-LCHlch(29.28, 74.37, 307.21°)
OKLaboklab(41.03% 0.0581 -0.1702)
OKLCHoklch(41.03% 0.18 288.8)
XYZxyz(10.5334, 5.9494, 35.2366)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BA3 #81A32B
analogous
#2B45A3 #4D2BA3 #892BA3
triadic
#4D2BA3 #A34D2B #2BA34D
tetradic
#4D2BA3 #A32B45 #81A32B #2BA389
square
#4D2BA3 #A32B45 #81A32B #2BA389
split-complementary
#4D2BA3 #A3892B #45A32B
monochromatic
#1F1142 #361E73 #4D2BA3 #673FCC #8D6FD9

Accessibility & contrast

On white

9.59
#4D2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4D2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BA3
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BA3#FFFFFF#000000##FFFFFF
##4D2BA31.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2ba3;
/* rgb */ color: rgb(77, 43, 163);
/* oklch */ color: oklch(41.0% 0.180 288.8);
Tailwind
colors: {
  custom: {
    50: '#8868bf',
    500: '#4d2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ba3;
$custom-light: #8868bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ba3",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 257,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.41032,
    "c": 0.17986,
    "h": 288.8
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#4D2BA3
secondary
#A8C06A
accent
#E146B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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