#4D2BA0#4D2BA0

#4D2BA0 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.176 H 289.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#4D2BA0
RGBrgb(77, 43, 160)
HSLhsl(257, 58%, 40%)
HSVhsv(257, 73%, 63%)
CMYKcmyk(51.9%, 73.1%, 0%, 37.3%)
CIE-LABlab(29.01, 44.11, -57.86)
CIE-LCHlch(29.01, 72.76, 307.32°)
OKLaboklab(40.76% 0.0588 -0.1662)
OKLCHoklch(40.76% 0.176 289.5)
XYZxyz(10.2678, 5.8431, 33.8377)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2BA0 #7EA02B
analogous
#2B44A0 #4D2BA0 #882BA0
triadic
#4D2BA0 #A04D2B #2BA04D
tetradic
#4D2BA0 #A02B44 #7EA02B #2BA088
square
#4D2BA0 #A02B44 #7EA02B #2BA088
split-complementary
#4D2BA0 #A0882B #44A02B
monochromatic
#1F1140 #361E70 #4D2BA0 #663DCB #8C6ED8

Accessibility & contrast

On white

9.68
#4D2BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D2BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2BA0
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2BA0#FFFFFF#000000##FFFFFF
##4D2BA01.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2ba0;
/* rgb */ color: rgb(77, 43, 160);
/* oklch */ color: oklch(40.8% 0.176 289.5);
Tailwind
colors: {
  custom: {
    50: '#8768bd',
    500: '#4d2ba0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ba0;
$custom-light: #8768bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ba0",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 257.436,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40757,
    "c": 0.17628,
    "h": 289.5
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#4D2BA0
secondary
#A6BF68
accent
#E147B4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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