#4D2583#4D2583

#4D2583 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.149 H 298.3°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#4D2583
RGBrgb(77, 37, 131)
HSLhsl(266, 56%, 33%)
HSVhsv(266, 72%, 51%)
CMYKcmyk(41.2%, 71.8%, 0%, 48.6%)
CIE-LABlab(25.38, 39.08, -45.89)
CIE-LCHlch(25.38, 60.28, 310.42°)
OKLaboklab(37.4% 0.0706 -0.131)
OKLCHoklch(37.4% 0.149 298.3)
XYZxyz(7.8178, 4.5395, 21.9327)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2583 #5B8325
analogous
#252C83 #4D2583 #7C2583
triadic
#4D2583 #834D25 #25834D
tetradic
#4D2583 #83252C #5B8325 #25837C
square
#4D2583 #83252C #5B8325 #25837C
split-complementary
#4D2583 #837C25 #2C8325
monochromatic
#150A24 #311853 #4D2583 #6932B3 #8854CF

Accessibility & contrast

On white

11.01
#4D2583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4D2583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2583
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2583#FFFFFF#000000##FFFFFF
##4D25831.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#403C51
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2583;
/* rgb */ color: rgb(77, 37, 131);
/* oklch */ color: oklch(37.4% 0.149 298.3);
Tailwind
colors: {
  custom: {
    50: '#8463a8',
    500: '#4d2583',
    950: '#000000',
  },
}
SCSS
$custom: #4d2583;
$custom-light: #8463a8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2583",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 265.532,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37399,
    "c": 0.14883,
    "h": 298.3
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#4D2583
secondary
#89B351
accent
#DF499F
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4D2583

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

Preview Lab → · Contrast checker → · Palette generator →

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