#4D2096#4D2096

#4D2096 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.177 H 293.6°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#4D2096
RGBrgb(77, 32, 150)
HSLhsl(263, 65%, 36%)
HSVhsv(263, 79%, 59%)
CMYKcmyk(48.7%, 78.7%, 0%, 41.2%)
CIE-LABlab(26.19, 46.71, -56.37)
CIE-LCHlch(26.19, 73.21, 309.64°)
OKLaboklab(38.49% 0.0707 -0.1617)
OKLCHoklch(38.49% 0.177 293.6)
XYZxyz(9.0806, 4.8125, 29.2987)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2096 #699620
analogous
#202E96 #4D2096 #882096
triadic
#4D2096 #964D20 #20964D
tetradic
#4D2096 #96202E #699620 #209688
square
#4D2096 #96202E #699620 #209688
split-complementary
#4D2096 #968820 #2E9620
monochromatic
#190A31 #331564 #4D2096 #672BC8 #8856DB

Accessibility & contrast

On white

10.70
#4D2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4D2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2096
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2096#FFFFFF#000000##FFFFFF
##4D20961.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#36415A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2096;
/* rgb */ color: rgb(77, 32, 150);
/* oklch */ color: oklch(38.5% 0.177 293.6);
Tailwind
colors: {
  custom: {
    50: '#8761b6',
    500: '#4d2096',
    950: '#000000',
  },
}
SCSS
$custom: #4d2096;
$custom-light: #8761b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2096",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 262.881,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38492,
    "c": 0.17653,
    "h": 293.6
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#4D2096
secondary
#96BE53
accent
#E840A8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2096

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

Preview Lab → · Contrast checker → · Palette generator →

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