#4D2E8A#4D2E8A

#4D2E8A is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.3% C 0.145 H 294.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4D2E8A
RGBrgb(77, 46, 138)
HSLhsl(260, 50%, 36%)
HSVhsv(260, 67%, 54%)
CMYKcmyk(44.2%, 66.7%, 0%, 45.9%)
CIE-LABlab(27.75, 36.08, -46.41)
CIE-LCHlch(27.75, 58.78, 307.86°)
OKLaboklab(39.28% 0.0596 -0.1326)
OKLCHoklch(39.28% 0.145 294.2)
XYZxyz(8.6238, 5.3665, 24.6213)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E8A #6B8A2E
analogous
#2E3D8A #4D2E8A #7B2E8A
triadic
#4D2E8A #8A4D2E #2E8A4D
tetradic
#4D2E8A #8A2E3D #6B8A2E #2E8A7B
square
#4D2E8A #8A2E3D #6B8A2E #2E8A7B
split-complementary
#4D2E8A #8A7B2E #3D8A2E
monochromatic
#1A0F2E #331F5C #4D2E8A #673DB8 #8966CC

Accessibility & contrast

On white

10.13
#4D2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4D2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E8A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E8A#FFFFFF#000000##FFFFFF
##4D2E8A1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#004088
Tritanopia (blue-blind)
#3C4458
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2e8a;
/* rgb */ color: rgb(77, 46, 138);
/* oklch */ color: oklch(39.3% 0.145 294.2);
Tailwind
colors: {
  custom: {
    50: '#8469ad',
    500: '#4d2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e8a;
$custom-light: #8469ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e8a",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 260.217,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3928,
    "c": 0.14533,
    "h": 294.2
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

primary
#4D2E8A
secondary
#97B361
accent
#DA4EAB
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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