#4D2095#4D2095

#4D2095 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.175 H 293.9°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#4D2095
RGBrgb(77, 32, 149)
HSLhsl(263, 65%, 35%)
HSVhsv(263, 79%, 58%)
CMYKcmyk(48.3%, 78.5%, 0%, 41.6%)
CIE-LABlab(26.10, 46.43, -55.91)
CIE-LCHlch(26.10, 72.68, 309.71°)
OKLaboklab(38.4% 0.071 -0.1604)
OKLCHoklch(38.4% 0.175 293.9)
XYZxyz(9.0004, 4.7805, 28.8764)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2095 #689520
analogous
#202D95 #4D2095 #872095
triadic
#4D2095 #954D20 #20954D
tetradic
#4D2095 #95202D #689520 #209587
square
#4D2095 #95202D #689520 #209587
split-complementary
#4D2095 #958720 #2D9520
monochromatic
#190A30 #331563 #4D2095 #672BC7 #8855DA

Accessibility & contrast

On white

10.74
#4D2095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2095
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2095#FFFFFF#000000##FFFFFF
##4D20951.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#37405A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2095;
/* rgb */ color: rgb(77, 32, 149);
/* oklch */ color: oklch(38.4% 0.175 293.9);
Tailwind
colors: {
  custom: {
    50: '#8761b5',
    500: '#4d2095',
    950: '#000000',
  },
}
SCSS
$custom: #4d2095;
$custom-light: #8761b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2095",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 149
  },
  "hsl": {
    "h": 263.077,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38398,
    "c": 0.17541,
    "h": 293.9
  },
  "luminance": 0.04781
}

Semantic roles & 50–950 ramp

primary
#4D2095
secondary
#95BE53
accent
#E840A7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4D2095

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

Preview Lab → · Contrast checker → · Palette generator →

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