#4D2EB9#4D2EB9

#4D2EB9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.5% C 0.203 H 284.4°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4D2EB9
RGBrgb(77, 46, 185)
HSLhsl(253, 60%, 45%)
HSVhsv(253, 75%, 73%)
CMYKcmyk(58.4%, 75.1%, 0%, 27.5%)
CIE-LABlab(31.88, 49.84, -68.13)
CIE-LCHlch(31.88, 84.41, 306.18°)
OKLaboklab(43.49% 0.0504 -0.1963)
OKLCHoklch(43.49% 0.203 284.4)
XYZxyz(12.7918, 7.0338, 46.5731)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EB9 #9AB92E
analogous
#2E55B9 #4D2EB9 #922EB9
triadic
#4D2EB9 #B94D2E #2EB94D
tetradic
#4D2EB9 #B92E55 #9AB92E #2EB992
square
#4D2EB9 #B92E55 #9AB92E #2EB992
split-complementary
#4D2EB9 #B9922E #55B92E
monochromatic
#241657 #392288 #4D2EB9 #6E51D4 #9782E0

Accessibility & contrast

On white

8.72
#4D2EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4D2EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2EB9
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2EB9#FFFFFF#000000##FFFFFF
##4D2EB91.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#0E5571
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4d2eb9;
/* rgb */ color: rgb(77, 46, 185);
/* oklch */ color: oklch(43.5% 0.203 284.4);
Tailwind
colors: {
  custom: {
    50: '#8b6acf',
    500: '#4d2eb9',
    950: '#000000',
  },
}
SCSS
$custom: #4d2eb9;
$custom-light: #8b6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2eb9",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 253.381,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43492,
    "c": 0.20265,
    "h": 284.4
  },
  "luminance": 0.07035
}

Semantic roles & 50–950 ramp

primary
#4D2EB9
secondary
#B7C97A
accent
#E344C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D2EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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