#4D2689#4D2689

#4D2689 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.0% C 0.155 H 296.3°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#4D2689
RGBrgb(77, 38, 137)
HSLhsl(264, 57%, 34%)
HSVhsv(264, 72%, 54%)
CMYKcmyk(43.8%, 72.3%, 0%, 46.3%)
CIE-LABlab(26.07, 40.21, -48.53)
CIE-LCHlch(26.07, 63.02, 309.64°)
OKLaboklab(38.05% 0.0684 -0.1388)
OKLCHoklch(38.05% 0.155 296.3)
XYZxyz(8.2678, 4.7700, 24.1472)
Luminance0.0477 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2689 #628926
analogous
#263189 #4D2689 #7F2689
triadic
#4D2689 #894D26 #26894D
tetradic
#4D2689 #892631 #628926 #26897F
square
#4D2689 #892631 #628926 #26897F
split-complementary
#4D2689 #897F26 #318926
monochromatic
#170B29 #321959 #4D2689 #6833B9 #8859D1

Accessibility & contrast

On white

10.75
#4D2689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#4D2689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2689
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2689#FFFFFF#000000##FFFFFF
##4D26891.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003C87
Tritanopia (blue-blind)
#3D3F55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2689;
/* rgb */ color: rgb(77, 38, 137);
/* oklch */ color: oklch(38.0% 0.155 296.3);
Tailwind
colors: {
  custom: {
    50: '#8564ac',
    500: '#4d2689',
    950: '#000000',
  },
}
SCSS
$custom: #4d2689;
$custom-light: #8564ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2689",
  "rgb": {
    "r": 77,
    "g": 38,
    "b": 137
  },
  "hsl": {
    "h": 263.636,
    "s": 56.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.15472,
    "h": 296.3
  },
  "luminance": 0.0477
}

Semantic roles & 50–950 ramp

primary
#4D2689
secondary
#90B655
accent
#E048A4
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4D2689

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

Preview Lab → · Contrast checker → · Palette generator →

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