#4D3CA2#4D3CA2

#4D3CA2 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 43.5% C 0.158 H 285.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#4D3CA2
RGBrgb(77, 60, 162)
HSLhsl(250, 46%, 44%)
HSVhsv(250, 63%, 64%)
CMYKcmyk(52.5%, 63%, 0%, 36.5%)
CIE-LABlab(32.74, 35.02, -52.99)
CIE-LCHlch(32.74, 63.52, 303.46°)
OKLaboklab(43.49% 0.0419 -0.1519)
OKLCHoklch(43.49% 0.158 285.4)
XYZxyz(11.1961, 7.4176, 35.0172)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3CA2 #91A23C
analogous
#3C5EA2 #4D3CA2 #803CA2
triadic
#4D3CA2 #A24D3C #3CA24D
tetradic
#4D3CA2 #A23C5E #91A23C #3CA280
square
#4D3CA2 #A23C5E #91A23C #3CA280
split-complementary
#4D3CA2 #A2803C #5EA23C
monochromatic
#231B49 #382B75 #4D3CA2 #6B59C2 #9386D2

Accessibility & contrast

On white

8.46
#4D3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4D3CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3CA2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3CA2#FFFFFF#000000##FFFFFF
##4D3CA21.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#2C5469
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4d3ca2;
/* rgb */ color: rgb(77, 60, 162);
/* oklch */ color: oklch(43.5% 0.158 285.4);
Tailwind
colors: {
  custom: {
    50: '#8672be',
    500: '#4d3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #4d3ca2;
$custom-light: #8672be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3ca2",
  "rgb": {
    "r": 77,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 250,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4349,
    "c": 0.15758,
    "h": 285.4
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#4D3CA2
secondary
#B2BC7D
accent
#D652C0
background
#F8F7FB
surface
#F0EDF7
border
#CBC8D0
text
#0C0812
muted
#7D7B81

Preview Lab

Preview with #4D3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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