#4D2299#4D2299

#4D2299 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.178 H 292.6°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4D2299
RGBrgb(77, 34, 153)
HSLhsl(262, 64%, 37%)
HSVhsv(262, 78%, 60%)
CMYKcmyk(49.7%, 77.8%, 0%, 40%)
CIE-LABlab(26.80, 46.60, -57.23)
CIE-LCHlch(26.80, 73.80, 309.16°)
OKLaboklab(39% 0.0682 -0.1643)
OKLCHoklch(39% 0.178 292.6)
XYZxyz(9.3808, 5.0214, 30.6058)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2299 #6E9922
analogous
#223399 #4D2299 #892299
triadic
#4D2299 #994D22 #22994D
tetradic
#4D2299 #992233 #6E9922 #229989
square
#4D2299 #992233 #6E9922 #229989
split-complementary
#4D2299 #998922 #339922
monochromatic
#1B0C35 #341767 #4D2299 #662DCB #895BDB

Accessibility & contrast

On white

10.48
#4D2299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4D2299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2299
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2299#FFFFFF#000000##FFFFFF
##4D22991.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#35435C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2299;
/* rgb */ color: rgb(77, 34, 153);
/* oklch */ color: oklch(39.0% 0.178 292.6);
Tailwind
colors: {
  custom: {
    50: '#8762b8',
    500: '#4d2299',
    950: '#000000',
  },
}
SCSS
$custom: #4d2299;
$custom-light: #8762b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2299",
  "rgb": {
    "r": 77,
    "g": 34,
    "b": 153
  },
  "hsl": {
    "h": 261.681,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38999,
    "c": 0.17787,
    "h": 292.6
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#4D2299
secondary
#9ABF58
accent
#E741AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2299

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

Preview Lab → · Contrast checker → · Palette generator →

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