#4B2598#4B2598

#4B2598 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.174 H 291.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4B2598
RGBrgb(75, 37, 152)
HSLhsl(260, 61%, 37%)
HSVhsv(260, 76%, 60%)
CMYKcmyk(50.7%, 75.7%, 0%, 40.4%)
CIE-LABlab(26.98, 44.57, -56.32)
CIE-LCHlch(26.98, 71.82, 308.35°)
OKLaboklab(39.05% 0.0629 -0.1617)
OKLCHoklch(39.05% 0.174 291.3)
XYZxyz(9.2291, 5.0856, 30.1950)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2598 #729825
analogous
#253998 #4B2598 #852598
triadic
#4B2598 #984B25 #25984B
tetradic
#4B2598 #982539 #729825 #259885
square
#4B2598 #982539 #729825 #259885
split-complementary
#4B2598 #988525 #399825
monochromatic
#1A0D36 #331967 #4B2598 #6331C9 #875FD8

Accessibility & contrast

On white

10.41
#4B2598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4B2598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2598
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2598#FFFFFF#000000##FFFFFF
##4B25981.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2598;
/* rgb */ color: rgb(75, 37, 152);
/* oklch */ color: oklch(39.0% 0.174 291.3);
Tailwind
colors: {
  custom: {
    50: '#8564b7',
    500: '#4b2598',
    950: '#000000',
  },
}
SCSS
$custom: #4b2598;
$custom-light: #8564b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2598",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 259.826,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39045,
    "c": 0.17351,
    "h": 291.3
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#4B2598
secondary
#9DBD5C
accent
#E444AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2598

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

Preview Lab → · Contrast checker → · Palette generator →

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