#4D2C94#4D2C94

#4D2C94 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.161 H 292.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#4D2C94
RGBrgb(77, 44, 148)
HSLhsl(259, 54%, 38%)
HSVhsv(259, 70%, 58%)
CMYKcmyk(48%, 70.3%, 0%, 42%)
CIE-LABlab(28.16, 40.10, -51.93)
CIE-LCHlch(28.16, 65.61, 307.68°)
OKLaboklab(39.83% 0.0603 -0.1488)
OKLCHoklch(39.83% 0.161 292)
XYZxyz(9.3051, 5.5169, 28.5858)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C94 #73942C
analogous
#2C3F94 #4D2C94 #812C94
triadic
#4D2C94 #944D2C #2C944D
tetradic
#4D2C94 #942C3F #73942C #2C9481
square
#4D2C94 #942C3F #73942C #2C9481
split-complementary
#4D2C94 #94812C #3F942C
monochromatic
#1C1036 #341E65 #4D2C94 #663AC3 #8A68D2

Accessibility & contrast

On white

9.98
#4D2C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4D2C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C94
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C94#FFFFFF#000000##FFFFFF
##4D2C941.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#37465C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2c94;
/* rgb */ color: rgb(77, 44, 148);
/* oklch */ color: oklch(39.8% 0.161 292.0);
Tailwind
colors: {
  custom: {
    50: '#8668b4',
    500: '#4d2c94',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c94;
$custom-light: #8668b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c94",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 148
  },
  "hsl": {
    "h": 259.038,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.16051,
    "h": 292
  },
  "luminance": 0.05517
}

Semantic roles & 50–950 ramp

primary
#4D2C94
secondary
#9EB963
accent
#DE4AAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2C94

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

Preview Lab → · Contrast checker → · Palette generator →

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