#4B208E#4B208E

#4B208E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.167 H 294.7°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#4B208E
RGBrgb(75, 32, 142)
HSLhsl(263, 63%, 34%)
HSVhsv(263, 77%, 56%)
CMYKcmyk(47.2%, 77.5%, 0%, 44.3%)
CIE-LABlab(25.20, 44.22, -53.06)
CIE-LCHlch(25.20, 69.07, 309.81°)
OKLaboklab(37.52% 0.0699 -0.1521)
OKLCHoklch(37.52% 0.167 294.7)
XYZxyz(8.2993, 4.4816, 26.0137)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B208E #638E20
analogous
#202C8E #4B208E #82208E
triadic
#4B208E #8E4B20 #208E4B
tetradic
#4B208E #8E202C #638E20 #208E82
square
#4B208E #8E202C #638E20 #208E82
split-complementary
#4B208E #8E8220 #2C8E20
monochromatic
#16092A #31155C #4B208E #652BC0 #8551D8

Accessibility & contrast

On white

11.07
#4B208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B208E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B208E#FFFFFF#000000##FFFFFF
##4B208E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b208e;
/* rgb */ color: rgb(75, 32, 142);
/* oklch */ color: oklch(37.5% 0.167 294.7);
Tailwind
colors: {
  custom: {
    50: '#8460b0',
    500: '#4b208e',
    950: '#000000',
  },
}
SCSS
$custom: #4b208e;
$custom-light: #8460b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b208e",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 263.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37516,
    "c": 0.16739,
    "h": 294.7
  },
  "luminance": 0.04482
}

Semantic roles & 50–950 ramp

primary
#4B208E
secondary
#91BB4F
accent
#E642A6
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B208E

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

Preview Lab → · Contrast checker → · Palette generator →

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