#4D2C93#4D2C93

#4D2C93 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.159 H 292.3°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#4D2C93
RGBrgb(77, 44, 147)
HSLhsl(259, 54%, 37%)
HSVhsv(259, 70%, 58%)
CMYKcmyk(47.6%, 70.1%, 0%, 42.4%)
CIE-LABlab(28.08, 39.81, -51.45)
CIE-LCHlch(28.08, 65.05, 307.73°)
OKLaboklab(39.74% 0.0604 -0.1474)
OKLCHoklch(39.74% 0.159 292.3)
XYZxyz(9.2262, 5.4854, 28.1708)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C93 #72932C
analogous
#2C3F93 #4D2C93 #802C93
triadic
#4D2C93 #934D2C #2C934D
tetradic
#4D2C93 #932C3F #72932C #2C9380
square
#4D2C93 #932C3F #72932C #2C9380
split-complementary
#4D2C93 #93802C #3F932C
monochromatic
#1C1035 #341E64 #4D2C93 #663AC2 #8A68D2

Accessibility & contrast

On white

10.01
#4D2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2C93
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C93#FFFFFF#000000##FFFFFF
##4D2C931.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004496
Deuteranopia (green-blind)
#004091
Tritanopia (blue-blind)
#38465C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2c93;
/* rgb */ color: rgb(77, 44, 147);
/* oklch */ color: oklch(39.7% 0.159 292.3);
Tailwind
colors: {
  custom: {
    50: '#8568b4',
    500: '#4d2c93',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c93;
$custom-light: #8568b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c93",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 259.223,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.3974,
    "c": 0.15928,
    "h": 292.3
  },
  "luminance": 0.05486
}

Semantic roles & 50–950 ramp

primary
#4D2C93
secondary
#9DB863
accent
#DD4AAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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