#4D2598#4D2598

#4D2598 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.174 H 292.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4D2598
RGBrgb(77, 37, 152)
HSLhsl(261, 61%, 37%)
HSVhsv(261, 76%, 60%)
CMYKcmyk(49.3%, 75.7%, 0%, 40.4%)
CIE-LABlab(27.21, 44.89, -55.94)
CIE-LCHlch(27.21, 71.72, 308.75°)
OKLaboklab(39.26% 0.066 -0.1605)
OKLCHoklch(39.26% 0.174 292.3)
XYZxyz(9.3880, 5.1676, 30.2025)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2598 #709825
analogous
#253698 #4D2598 #872598
triadic
#4D2598 #984D25 #25984D
tetradic
#4D2598 #982536 #709825 #259887
square
#4D2598 #982536 #709825 #259887
split-complementary
#4D2598 #988725 #369825
monochromatic
#1B0D36 #341967 #4D2598 #6631C9 #895FD8

Accessibility & contrast

On white

10.33
#4D2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4D2598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2598
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2598#FFFFFF#000000##FFFFFF
##4D25981.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429B
Deuteranopia (green-blind)
#003E96
Tritanopia (blue-blind)
#35445D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4d2598;
/* rgb */ color: rgb(77, 37, 152);
/* oklch */ color: oklch(39.3% 0.174 292.3);
Tailwind
colors: {
  custom: {
    50: '#8764b7',
    500: '#4d2598',
    950: '#000000',
  },
}
SCSS
$custom: #4d2598;
$custom-light: #8764b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2598",
  "rgb": {
    "r": 77,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 260.87,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39259,
    "c": 0.17354,
    "h": 292.3
  },
  "luminance": 0.05168
}

Semantic roles & 50–950 ramp

primary
#4D2598
secondary
#9BBD5C
accent
#E444AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2598

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

Preview Lab → · Contrast checker → · Palette generator →

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