#4B207E#4B207E

#4B207E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.149 H 299.7°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#4B207E
RGBrgb(75, 32, 126)
HSLhsl(267, 59%, 31%)
HSVhsv(267, 75%, 49%)
CMYKcmyk(40.5%, 74.6%, 0%, 50.6%)
CIE-LABlab(23.79, 39.90, -45.35)
CIE-LCHlch(23.79, 60.40, 311.34°)
OKLaboklab(36.08% 0.0738 -0.1294)
OKLCHoklch(36.08% 0.149 299.7)
XYZxyz(7.1831, 4.0352, 20.1350)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B207E #537E20
analogous
#20247E #4B207E #7A207E
triadic
#4B207E #7E4B20 #207E4B
tetradic
#4B207E #7E2024 #537E20 #207E7A
square
#4B207E #7E2024 #537E20 #207E7A
split-complementary
#4B207E #7E7A20 #247E20
monochromatic
#11071C #2E144D #4B207E #682CAF #8648D0

Accessibility & contrast

On white

11.62
#4B207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4B207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B207E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B207E#FFFFFF#000000##FFFFFF
##4B207E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#3F374D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b207e;
/* rgb */ color: rgb(75, 32, 126);
/* oklch */ color: oklch(36.1% 0.149 299.7);
Tailwind
colors: {
  custom: {
    50: '#8260a4',
    500: '#4b207e',
    950: '#000000',
  },
}
SCSS
$custom: #4b207e;
$custom-light: #8260a4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b207e",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 267.447,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36079,
    "c": 0.14902,
    "h": 299.7
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#4B207E
secondary
#81B149
accent
#E3459B
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #4B207E

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

Preview Lab → · Contrast checker → · Palette generator →

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