#4D2899#4D2899

#4D2899 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.171 H 291.6°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4D2899
RGBrgb(77, 40, 153)
HSLhsl(260, 59%, 38%)
HSVhsv(260, 74%, 60%)
CMYKcmyk(49.7%, 73.9%, 0%, 40%)
CIE-LABlab(27.83, 43.66, -55.53)
CIE-LCHlch(27.83, 70.64, 308.18°)
OKLaboklab(39.73% 0.0631 -0.1593)
OKLCHoklch(39.73% 0.171 291.6)
XYZxyz(9.5675, 5.3949, 30.6680)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2899 #749928
analogous
#283B99 #4D2899 #852899
triadic
#4D2899 #994D28 #28994D
tetradic
#4D2899 #99283B #749928 #289985
square
#4D2899 #99283B #749928 #289985
split-complementary
#4D2899 #998528 #3B9928
monochromatic
#1C0F38 #351B68 #4D2899 #6535CA #8A65D7

Accessibility & contrast

On white

10.10
#4D2899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D2899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2899
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2899#FFFFFF#000000##FFFFFF
##4D28991.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#34465E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2899;
/* rgb */ color: rgb(77, 40, 153);
/* oklch */ color: oklch(39.7% 0.171 291.6);
Tailwind
colors: {
  custom: {
    50: '#8766b8',
    500: '#4d2899',
    950: '#000000',
  },
}
SCSS
$custom: #4d2899;
$custom-light: #8766b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2899",
  "rgb": {
    "r": 77,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 259.646,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.17136,
    "h": 291.6
  },
  "luminance": 0.05395
}

Semantic roles & 50–950 ramp

primary
#4D2899
secondary
#9EBD60
accent
#E246AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2899

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

Preview Lab → · Contrast checker → · Palette generator →

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