#4D288A#4D288A

#4D288A is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.153 H 295.6°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#4D288A
RGBrgb(77, 40, 138)
HSLhsl(263, 55%, 35%)
HSVhsv(263, 71%, 54%)
CMYKcmyk(44.2%, 71%, 0%, 45.9%)
CIE-LABlab(26.53, 39.43, -48.39)
CIE-LCHlch(26.53, 62.42, 309.17°)
OKLaboklab(38.4% 0.0662 -0.1384)
OKLCHoklch(38.4% 0.153 295.6)
XYZxyz(8.4056, 4.9301, 24.5486)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D288A #658A28
analogous
#28348A #4D288A #7E288A
triadic
#4D288A #8A4D28 #288A4D
tetradic
#4D288A #8A2834 #658A28 #288A7E
square
#4D288A #8A2834 #658A28 #288A7E
split-complementary
#4D288A #8A7E28 #348A28
monochromatic
#180C2B #331A5B #4D288A #6736B9 #885DD0

Accessibility & contrast

On white

10.57
#4D288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4D288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D288A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D288A#FFFFFF#000000##FFFFFF
##4D288A1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003D88
Tritanopia (blue-blind)
#3D4056
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d288a;
/* rgb */ color: rgb(77, 40, 138);
/* oklch */ color: oklch(38.4% 0.153 295.6);
Tailwind
colors: {
  custom: {
    50: '#8465ad',
    500: '#4d288a',
    950: '#000000',
  },
}
SCSS
$custom: #4d288a;
$custom-light: #8465ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4d288a",
  "rgb": {
    "r": 77,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 262.653,
    "s": 55.056,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38404,
    "c": 0.15337,
    "h": 295.6
  },
  "luminance": 0.0493
}

Semantic roles & 50–950 ramp

primary
#4D288A
secondary
#92B559
accent
#DE49A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D288A

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

Preview Lab → · Contrast checker → · Palette generator →

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