#4D299A#4D299A

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

Color values

HEX#4D299A
RGBrgb(77, 41, 154)
HSLhsl(259, 58%, 38%)
HSVhsv(259, 73%, 60%)
CMYKcmyk(50%, 73.4%, 0%, 39.6%)
CIE-LABlab(28.10, 43.43, -55.69)
CIE-LCHlch(28.10, 70.62, 307.95°)
OKLaboklab(39.95% 0.0619 -0.1598)
OKLCHoklch(39.95% 0.171 291.2)
XYZxyz(9.6846, 5.4964, 31.1162)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D299A #769A29
analogous
#293D9A #4D299A #85299A
triadic
#4D299A #9A4D29 #299A4D
tetradic
#4D299A #9A293D #769A29 #299A85
square
#4D299A #9A293D #769A29 #299A85
split-complementary
#4D299A #9A8529 #3D9A29
monochromatic
#1D0F39 #351C6A #4D299A #6537CA #8A67D7

Accessibility & contrast

On white

10.00
#4D299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4D299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D299A
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D299A#FFFFFF#000000##FFFFFF
##4D299A1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#33475F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d299a;
/* rgb */ color: rgb(77, 41, 154);
/* oklch */ color: oklch(39.9% 0.171 291.2);
Tailwind
colors: {
  custom: {
    50: '#8766b9',
    500: '#4d299a',
    950: '#000000',
  },
}
SCSS
$custom: #4d299a;
$custom-light: #8766b9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d299a",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 259.115,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39948,
    "c": 0.1714,
    "h": 291.2
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#4D299A
secondary
#A0BD62
accent
#E147B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D299A

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

Preview Lab → · Contrast checker → · Palette generator →

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