#4D2291#4D2291

#4D2291 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.169 H 294.7°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4D2291
RGBrgb(77, 34, 145)
HSLhsl(263, 62%, 35%)
HSVhsv(263, 77%, 57%)
CMYKcmyk(46.9%, 76.6%, 0%, 43.1%)
CIE-LABlab(26.06, 44.42, -53.51)
CIE-LCHlch(26.06, 69.54, 309.69°)
OKLaboklab(38.26% 0.0704 -0.1534)
OKLCHoklch(38.26% 0.169 294.7)
XYZxyz(8.7420, 4.7659, 27.2419)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2291 #669122
analogous
#222F91 #4D2291 #842291
triadic
#4D2291 #914D22 #22914D
tetradic
#4D2291 #91222F #669122 #229184
square
#4D2291 #91222F #669122 #229184
split-complementary
#4D2291 #918422 #2F9122
monochromatic
#180B2E #33165F #4D2291 #672EC3 #8856D7

Accessibility & contrast

On white

10.75
#4D2291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4D2291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2291
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2291#FFFFFF#000000##FFFFFF
##4D22911.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#394058
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2291;
/* rgb */ color: rgb(77, 34, 145);
/* oklch */ color: oklch(38.3% 0.169 294.7);
Tailwind
colors: {
  custom: {
    50: '#8662b2',
    500: '#4d2291',
    950: '#000000',
  },
}
SCSS
$custom: #4d2291;
$custom-light: #8662b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2291",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 263.243,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.38255,
    "c": 0.16877,
    "h": 294.7
  },
  "luminance": 0.04766
}

Semantic roles & 50–950 ramp

primary
#4D2291
secondary
#93BB53
accent
#E543A6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2291

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

Preview Lab → · Contrast checker → · Palette generator →

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