#4B209B#4B209B

#4B209B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.8% C 0.182 H 291.3°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#4B209B
RGBrgb(75, 32, 155)
HSLhsl(261, 66%, 37%)
HSVhsv(261, 79%, 61%)
CMYKcmyk(51.6%, 79.4%, 0%, 39.2%)
CIE-LABlab(26.43, 47.77, -59.05)
CIE-LCHlch(26.43, 75.96, 308.97°)
OKLaboklab(38.75% 0.0661 -0.1697)
OKLCHoklch(38.75% 0.182 291.3)
XYZxyz(9.3329, 4.8951, 31.4571)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B209B #709B20
analogous
#20329B #4B209B #89209B
triadic
#4B209B #9B4B20 #209B4B
tetradic
#4B209B #9B2032 #709B20 #209B89
square
#4B209B #9B2032 #709B20 #209B89
split-complementary
#4B209B #9B8920 #329B20
monochromatic
#1A0B36 #321668 #4B209B #642ACE #8759DD

Accessibility & contrast

On white

10.61
#4B209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4B209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B209B
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B209B#FFFFFF#000000##FFFFFF
##4B209B1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003C99
Tritanopia (blue-blind)
#2F435D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b209b;
/* rgb */ color: rgb(75, 32, 155);
/* oklch */ color: oklch(38.8% 0.182 291.3);
Tailwind
colors: {
  custom: {
    50: '#8661ba',
    500: '#4b209b',
    950: '#000000',
  },
}
SCSS
$custom: #4b209b;
$custom-light: #8661ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4b209b",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 260.976,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3875,
    "c": 0.18208,
    "h": 291.3
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#4B209B
secondary
#9BC156
accent
#E93FAD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4B209B

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

Preview Lab → · Contrast checker → · Palette generator →

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