#4D2994#4D2994

#4D2994 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.164 H 292.6°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4D2994
RGBrgb(77, 41, 148)
HSLhsl(260, 57%, 37%)
HSVhsv(260, 72%, 58%)
CMYKcmyk(48%, 72.3%, 0%, 42%)
CIE-LABlab(27.58, 41.72, -52.88)
CIE-LCHlch(27.58, 67.35, 308.27°)
OKLaboklab(39.41% 0.0632 -0.1515)
OKLCHoklch(39.41% 0.164 292.6)
XYZxyz(9.1973, 5.3015, 28.5499)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2994 #709429
analogous
#293A94 #4D2994 #832994
triadic
#4D2994 #944D29 #29944D
tetradic
#4D2994 #94293A #709429 #299483
square
#4D2994 #94293A #709429 #299483
split-complementary
#4D2994 #948329 #3A9429
monochromatic
#1B0E34 #341C64 #4D2994 #6636C4 #8963D4

Accessibility & contrast

On white

10.19
#4D2994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D2994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2994
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2994#FFFFFF#000000##FFFFFF
##4D29941.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#37445B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2994;
/* rgb */ color: rgb(77, 41, 148);
/* oklch */ color: oklch(39.4% 0.164 292.6);
Tailwind
colors: {
  custom: {
    50: '#8666b4',
    500: '#4d2994',
    950: '#000000',
  },
}
SCSS
$custom: #4d2994;
$custom-light: #8666b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2994",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 260.187,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39411,
    "c": 0.16421,
    "h": 292.6
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D2994

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

Preview Lab → · Contrast checker → · Palette generator →

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