#4B2087#4B2087

#4B2087 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.159 H 296.7°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#4B2087
RGBrgb(75, 32, 135)
HSLhsl(265, 62%, 33%)
HSVhsv(265, 76%, 53%)
CMYKcmyk(44.4%, 76.3%, 0%, 47.1%)
CIE-LABlab(24.57, 42.32, -49.73)
CIE-LCHlch(24.57, 65.30, 310.40°)
OKLaboklab(36.88% 0.0717 -0.1423)
OKLCHoklch(36.88% 0.159 296.7)
XYZxyz(7.7902, 4.2780, 23.3323)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2087 #5C8720
analogous
#202887 #4B2087 #7F2087
triadic
#4B2087 #874B20 #20874B
tetradic
#4B2087 #872028 #5C8720 #20877F
square
#4B2087 #872028 #5C8720 #20877F
split-complementary
#4B2087 #877F20 #288720
monochromatic
#140924 #301456 #4B2087 #662CB8 #854DD5

Accessibility & contrast

On white

11.32
#4B2087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4B2087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2087
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2087#FFFFFF#000000##FFFFFF
##4B20871.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8A
Deuteranopia (green-blind)
#003985
Tritanopia (blue-blind)
#3B3B52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b2087;
/* rgb */ color: rgb(75, 32, 135);
/* oklch */ color: oklch(36.9% 0.159 296.7);
Tailwind
colors: {
  custom: {
    50: '#8360ab',
    500: '#4b2087',
    950: '#000000',
  },
}
SCSS
$custom: #4b2087;
$custom-light: #8360ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2087",
  "rgb": {
    "r": 75,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 265.049,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36875,
    "c": 0.1594,
    "h": 296.7
  },
  "luminance": 0.04278
}

Semantic roles & 50–950 ramp

primary
#4B2087
secondary
#8AB84B
accent
#E543A1
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2087

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

Preview Lab → · Contrast checker → · Palette generator →

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