#4B208F#4B208F

#4B208F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.169 H 294.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#4B208F
RGBrgb(75, 32, 143)
HSLhsl(263, 63%, 34%)
HSVhsv(263, 78%, 56%)
CMYKcmyk(47.6%, 77.6%, 0%, 43.9%)
CIE-LABlab(25.30, 44.49, -53.53)
CIE-LCHlch(25.30, 69.61, 309.73°)
OKLaboklab(37.61% 0.0696 -0.1535)
OKLCHoklch(37.61% 0.169 294.4)
XYZxyz(8.3747, 4.5118, 26.4109)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B208F #648F20
analogous
#202D8F #4B208F #83208F
triadic
#4B208F #8F4B20 #208F4B
tetradic
#4B208F #8F202D #648F20 #208F83
square
#4B208F #8F202D #648F20 #208F83
split-complementary
#4B208F #8F8320 #2D8F20
monochromatic
#170A2B #31155D #4B208F #652BC1 #8651D8

Accessibility & contrast

On white

11.04
#4B208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4B208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B208F
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B208F#FFFFFF#000000##FFFFFF
##4B208F1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#373E56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b208f;
/* rgb */ color: rgb(75, 32, 143);
/* oklch */ color: oklch(37.6% 0.169 294.4);
Tailwind
colors: {
  custom: {
    50: '#8560b1',
    500: '#4b208f',
    950: '#000000',
  },
}
SCSS
$custom: #4b208f;
$custom-light: #8560b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b208f",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 263.243,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37609,
    "c": 0.16853,
    "h": 294.4
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#4B208F
secondary
#92BB4F
accent
#E641A6
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B208F

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

Preview Lab → · Contrast checker → · Palette generator →

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