#4D2E89#4D2E89

#4D2E89 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.144 H 294.5°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#4D2E89
RGBrgb(77, 46, 137)
HSLhsl(260, 50%, 36%)
HSVhsv(260, 66%, 54%)
CMYKcmyk(43.8%, 66.4%, 0%, 46.3%)
CIE-LABlab(27.68, 35.79, -45.91)
CIE-LCHlch(27.68, 58.22, 307.94°)
OKLaboklab(39.2% 0.0597 -0.1311)
OKLCHoklch(39.2% 0.144 294.5)
XYZxyz(8.5517, 5.3377, 24.2418)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E89 #6A892E
analogous
#2E3C89 #4D2E89 #7A2E89
triadic
#4D2E89 #894D2E #2E894D
tetradic
#4D2E89 #892E3C #6A892E #2E897A
square
#4D2E89 #892E3C #6A892E #2E897A
split-complementary
#4D2E89 #897A2E #3C892E
monochromatic
#190F2D #331F5B #4D2E89 #673DB7 #8866CC

Accessibility & contrast

On white

10.16
#4D2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2E89
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E89#FFFFFF#000000##FFFFFF
##4D2E891.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428C
Deuteranopia (green-blind)
#004087
Tritanopia (blue-blind)
#3D4357
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2e89;
/* rgb */ color: rgb(77, 46, 137);
/* oklch */ color: oklch(39.2% 0.144 294.5);
Tailwind
colors: {
  custom: {
    50: '#8469ac',
    500: '#4d2e89',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e89;
$custom-light: #8469ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e89",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 260.44,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39199,
    "c": 0.14404,
    "h": 294.5
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#4D2E89
secondary
#96B260
accent
#D94FAA
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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