#4D2AB0#4D2AB0

#4D2AB0 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.196 H 286.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#4D2AB0
RGBrgb(77, 42, 176)
HSLhsl(256, 61%, 43%)
HSVhsv(256, 76%, 69%)
CMYKcmyk(56.2%, 76.1%, 0%, 31%)
CIE-LABlab(30.32, 49.22, -65.35)
CIE-LCHlch(30.32, 81.81, 306.99°)
OKLaboklab(42.13% 0.0556 -0.1881)
OKLCHoklch(42.13% 0.196 286.5)
XYZxyz(11.7227, 6.3676, 41.6773)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2AB0 #8DB02A
analogous
#2A4AB0 #4D2AB0 #902AB0
triadic
#4D2AB0 #B04D2A #2AB04D
tetradic
#4D2AB0 #B02A4A #8DB02A #2AB090
square
#4D2AB0 #B02A4A #8DB02A #2AB090
split-complementary
#4D2AB0 #B0902A #4AB02A
monochromatic
#22124D #371E7F #4D2AB0 #6A45D3 #9176DE

Accessibility & contrast

On white

9.24
#4D2AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4D2AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2AB0
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2AB0#FFFFFF#000000##FFFFFF
##4D2AB01.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB4
Deuteranopia (green-blind)
#0043AE
Tritanopia (blue-blind)
#1F506B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4d2ab0;
/* rgb */ color: rgb(77, 42, 176);
/* oklch */ color: oklch(42.1% 0.196 286.5);
Tailwind
colors: {
  custom: {
    50: '#8a68c9',
    500: '#4d2ab0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ab0;
$custom-light: #8a68c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ab0",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 255.672,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42133,
    "c": 0.19616,
    "h": 286.5
  },
  "luminance": 0.06368
}

Semantic roles & 50–950 ramp

primary
#4D2AB0
secondary
#AFC670
accent
#E543BA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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