#4D2999#4D2999

#4D2999 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.170 H 291.4°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4D2999
RGBrgb(77, 41, 153)
HSLhsl(259, 58%, 38%)
HSVhsv(259, 73%, 60%)
CMYKcmyk(49.7%, 73.2%, 0%, 40%)
CIE-LABlab(28.02, 43.14, -55.23)
CIE-LCHlch(28.02, 70.08, 308.00°)
OKLaboklab(39.86% 0.0622 -0.1584)
OKLCHoklch(39.86% 0.17 291.4)
XYZxyz(9.6016, 5.4632, 30.6794)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2999 #759929
analogous
#293D99 #4D2999 #852999
triadic
#4D2999 #994D29 #29994D
tetradic
#4D2999 #99293D #759929 #299985
square
#4D2999 #99293D #759929 #299985
split-complementary
#4D2999 #998529 #3D9929
monochromatic
#1C0F38 #351C69 #4D2999 #6536C9 #8A66D6

Accessibility & contrast

On white

10.03
#4D2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2999
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2999#FFFFFF#000000##FFFFFF
##4D29991.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#34465E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2999;
/* rgb */ color: rgb(77, 41, 153);
/* oklch */ color: oklch(39.9% 0.170 291.4);
Tailwind
colors: {
  custom: {
    50: '#8666b8',
    500: '#4d2999',
    950: '#000000',
  },
}
SCSS
$custom: #4d2999;
$custom-light: #8666b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2999",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 259.286,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39858,
    "c": 0.17021,
    "h": 291.4
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#4D2999
secondary
#9FBC62
accent
#E147AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2999

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

Preview Lab → · Contrast checker → · Palette generator →

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