#4B208A#4B208A

#4B208A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.1% C 0.163 H 295.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#4B208A
RGBrgb(75, 32, 138)
HSLhsl(264, 62%, 33%)
HSVhsv(264, 77%, 54%)
CMYKcmyk(45.7%, 76.8%, 0%, 45.9%)
CIE-LABlab(24.84, 43.13, -51.17)
CIE-LCHlch(24.84, 66.92, 310.13°)
OKLaboklab(37.15% 0.071 -0.1466)
OKLCHoklch(37.15% 0.163 295.8)
XYZxyz(8.0044, 4.3637, 24.4604)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B208A #5F8A20
analogous
#202A8A #4B208A #80208A
triadic
#4B208A #8A4B20 #208A4B
tetradic
#4B208A #8A202A #5F8A20 #208A80
square
#4B208A #8A202A #5F8A20 #208A80
split-complementary
#4B208A #8A8020 #2A8A20
monochromatic
#150927 #301458 #4B208A #662CBC #854ED6

Accessibility & contrast

On white

11.21
#4B208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#4B208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B208A
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B208A#FFFFFF#000000##FFFFFF
##4B208A1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#3A3C53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b208a;
/* rgb */ color: rgb(75, 32, 138);
/* oklch */ color: oklch(37.1% 0.163 295.8);
Tailwind
colors: {
  custom: {
    50: '#8460ad',
    500: '#4b208a',
    950: '#000000',
  },
}
SCSS
$custom: #4b208a;
$custom-light: #8460ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4b208a",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 264.34,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.16283,
    "h": 295.8
  },
  "luminance": 0.04364
}

Semantic roles & 50–950 ramp

primary
#4B208A
secondary
#8DB94D
accent
#E542A3
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B208A

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

Preview Lab → · Contrast checker → · Palette generator →

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