#4D2995#4D2995

#4D2995 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.165 H 292.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4D2995
RGBrgb(77, 41, 149)
HSLhsl(260, 57%, 37%)
HSVhsv(260, 72%, 58%)
CMYKcmyk(48.3%, 72.5%, 0%, 41.6%)
CIE-LABlab(27.66, 42.00, -53.35)
CIE-LCHlch(27.66, 67.90, 308.21°)
OKLaboklab(39.5% 0.063 -0.1529)
OKLCHoklch(39.5% 0.165 292.4)
XYZxyz(9.2768, 5.3333, 28.9686)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2995 #719529
analogous
#293B95 #4D2995 #832995
triadic
#4D2995 #954D29 #29954D
tetradic
#4D2995 #95293B #719529 #299583
square
#4D2995 #95293B #719529 #299583
split-complementary
#4D2995 #958329 #3B9529
monochromatic
#1B0F35 #341C65 #4D2995 #6636C5 #8964D4

Accessibility & contrast

On white

10.16
#4D2995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4D2995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2995
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2995#FFFFFF#000000##FFFFFF
##4D29951.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#37455C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2995;
/* rgb */ color: rgb(77, 41, 149);
/* oklch */ color: oklch(39.5% 0.165 292.4);
Tailwind
colors: {
  custom: {
    50: '#8666b5',
    500: '#4d2995',
    950: '#000000',
  },
}
SCSS
$custom: #4d2995;
$custom-light: #8666b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2995",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 260,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.395,
    "c": 0.16542,
    "h": 292.4
  },
  "luminance": 0.05334
}

Semantic roles & 50–950 ramp

primary
#4D2995
secondary
#9CBA60
accent
#E048AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2995

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

Preview Lab → · Contrast checker → · Palette generator →

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