#4D2AB3#4D2AB3

#4D2AB3 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.200 H 285.9°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#4D2AB3
RGBrgb(77, 42, 179)
HSLhsl(255, 62%, 43%)
HSVhsv(255, 77%, 70%)
CMYKcmyk(57%, 76.5%, 0%, 29.8%)
CIE-LABlab(30.61, 50.08, -66.66)
CIE-LCHlch(30.61, 83.38, 306.92°)
OKLaboklab(42.42% 0.0548 -0.192)
OKLCHoklch(42.42% 0.2 285.9)
XYZxyz(12.0228, 6.4877, 43.2578)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2AB3 #90B32A
analogous
#2A4CB3 #4D2AB3 #912AB3
triadic
#4D2AB3 #B34D2A #2AB34D
tetradic
#4D2AB3 #B32A4C #90B32A #2AB391
square
#4D2AB3 #B32A4C #90B32A #2AB391
split-complementary
#4D2AB3 #B3912A #4CB32A
monochromatic
#221350 #381E81 #4D2AB3 #6B46D4 #9278DF

Accessibility & contrast

On white

9.14
#4D2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4D2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2AB3
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2AB3#FFFFFF#000000##FFFFFF
##4D2AB31.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#1B516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d2ab3;
/* rgb */ color: rgb(77, 42, 179);
/* oklch */ color: oklch(42.4% 0.200 285.9);
Tailwind
colors: {
  custom: {
    50: '#8a68cb',
    500: '#4d2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ab3;
$custom-light: #8a68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ab3",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 255.328,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42424,
    "c": 0.19963,
    "h": 285.9
  },
  "luminance": 0.06488
}

Semantic roles & 50–950 ramp

primary
#4D2AB3
secondary
#B1C772
accent
#E543BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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