#4D2D93#4D2D93

#4D2D93 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.158 H 292.1°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4D2D93
RGBrgb(77, 45, 147)
HSLhsl(259, 53%, 38%)
HSVhsv(259, 69%, 58%)
CMYKcmyk(47.6%, 69.4%, 0%, 42.4%)
CIE-LABlab(28.28, 39.26, -51.12)
CIE-LCHlch(28.28, 64.46, 307.52°)
OKLaboklab(39.88% 0.0594 -0.1464)
OKLCHoklch(39.88% 0.158 292.1)
XYZxyz(9.2639, 5.5608, 28.1833)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D93 #73932D
analogous
#2D4093 #4D2D93 #802D93
triadic
#4D2D93 #934D2D #2D934D
tetradic
#4D2D93 #932D40 #73932D #2D9380
square
#4D2D93 #932D40 #73932D #2D9380
split-complementary
#4D2D93 #93802D #40932D
monochromatic
#1C1035 #341F64 #4D2D93 #663BC2 #8A69D1

Accessibility & contrast

On white

9.94
#4D2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4D2D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2D93
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D93#FFFFFF#000000##FFFFFF
##4D2D931.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2d93;
/* rgb */ color: rgb(77, 45, 147);
/* oklch */ color: oklch(39.9% 0.158 292.1);
Tailwind
colors: {
  custom: {
    50: '#8568b4',
    500: '#4d2d93',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d93;
$custom-light: #8568b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d93",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 147
  },
  "hsl": {
    "h": 258.824,
    "s": 53.125,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39884,
    "c": 0.158,
    "h": 292.1
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#4D2D93
secondary
#9EB864
accent
#DD4BAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2D93

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

Preview Lab → · Contrast checker → · Palette generator →

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