#4B208C#4B208C

#4B208C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.165 H 295.3°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#4B208C
RGBrgb(75, 32, 140)
HSLhsl(264, 63%, 34%)
HSVhsv(264, 77%, 55%)
CMYKcmyk(46.4%, 77.1%, 0%, 45.1%)
CIE-LABlab(25.02, 43.68, -52.12)
CIE-LCHlch(25.02, 68.00, 309.96°)
OKLaboklab(37.33% 0.0704 -0.1493)
OKLCHoklch(37.33% 0.165 295.3)
XYZxyz(8.1505, 4.4221, 25.2300)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B208C #618C20
analogous
#202B8C #4B208C #81208C
triadic
#4B208C #8C4B20 #208C4B
tetradic
#4B208C #8C202B #618C20 #208C81
square
#4B208C #8C202B #618C20 #208C81
split-complementary
#4B208C #8C8120 #2B8C20
monochromatic
#160928 #30155A #4B208C #662BBE #8550D7

Accessibility & contrast

On white

11.14
#4B208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B208C
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B208C#FFFFFF#000000##FFFFFF
##4B208C1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#393D55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b208c;
/* rgb */ color: rgb(75, 32, 140);
/* oklch */ color: oklch(37.3% 0.165 295.3);
Tailwind
colors: {
  custom: {
    50: '#8460af',
    500: '#4b208c',
    950: '#000000',
  },
}
SCSS
$custom: #4b208c;
$custom-light: #8460af;
$custom-dark: #000000;
JSON
{
  "hex": "#4b208c",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 263.889,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37331,
    "c": 0.16512,
    "h": 295.3
  },
  "luminance": 0.04422
}

Semantic roles & 50–950 ramp

primary
#4B208C
secondary
#8FBA4E
accent
#E642A5
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B208C

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

Preview Lab → · Contrast checker → · Palette generator →

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