#4D2D94#4D2D94

#4D2D94 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.159 H 291.8°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4D2D94
RGBrgb(77, 45, 148)
HSLhsl(259, 53%, 38%)
HSVhsv(259, 70%, 58%)
CMYKcmyk(48%, 69.6%, 0%, 42%)
CIE-LABlab(28.36, 39.55, -51.60)
CIE-LCHlch(28.36, 65.01, 307.47°)
OKLaboklab(39.97% 0.0592 -0.1478)
OKLCHoklch(39.97% 0.159 291.8)
XYZxyz(9.3428, 5.5923, 28.5984)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D94 #74942D
analogous
#2D4094 #4D2D94 #802D94
triadic
#4D2D94 #944D2D #2D944D
tetradic
#4D2D94 #942D40 #74942D #2D9480
square
#4D2D94 #942D40 #74942D #2D9480
split-complementary
#4D2D94 #94802D #40942D
monochromatic
#1C1036 #351F65 #4D2D94 #653BC3 #8A6AD2

Accessibility & contrast

On white

9.91
#4D2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4D2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2D94
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D94#FFFFFF#000000##FFFFFF
##4D2D941.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004192
Tritanopia (blue-blind)
#37475D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2d94;
/* rgb */ color: rgb(77, 45, 148);
/* oklch */ color: oklch(40.0% 0.159 291.8);
Tailwind
colors: {
  custom: {
    50: '#8568b4',
    500: '#4d2d94',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d94;
$custom-light: #8568b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d94",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 258.641,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.15924,
    "h": 291.8
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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