#4B208B#4B208B

#4B208B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.164 H 295.5°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4B208B
RGBrgb(75, 32, 139)
HSLhsl(264, 63%, 34%)
HSVhsv(264, 77%, 55%)
CMYKcmyk(46%, 77%, 0%, 45.5%)
CIE-LABlab(24.93, 43.40, -51.64)
CIE-LCHlch(24.93, 67.46, 310.05°)
OKLaboklab(37.24% 0.0707 -0.1479)
OKLCHoklch(37.24% 0.164 295.5)
XYZxyz(8.0771, 4.3928, 24.8434)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B208B #608B20
analogous
#202A8B #4B208B #80208B
triadic
#4B208B #8B4B20 #208B4B
tetradic
#4B208B #8B202A #608B20 #208B80
square
#4B208B #8B202A #608B20 #208B80
split-complementary
#4B208B #8B8020 #2A8B20
monochromatic
#150928 #301559 #4B208B #662BBD #854FD6

Accessibility & contrast

On white

11.18
#4B208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4B208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B208B
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B208B#FFFFFF#000000##FFFFFF
##4B208B1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#393D54
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b208b;
/* rgb */ color: rgb(75, 32, 139);
/* oklch */ color: oklch(37.2% 0.164 295.5);
Tailwind
colors: {
  custom: {
    50: '#8460ae',
    500: '#4b208b',
    950: '#000000',
  },
}
SCSS
$custom: #4b208b;
$custom-light: #8460ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4b208b",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 264.112,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37239,
    "c": 0.16398,
    "h": 295.5
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#4B208B
secondary
#8EBA4D
accent
#E642A4
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B208B

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

Preview Lab → · Contrast checker → · Palette generator →

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