#4B2EA1#4B2EA1

#4B2EA1 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.174 H 287.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4B2EA1
RGBrgb(75, 46, 161)
HSLhsl(255, 56%, 41%)
HSVhsv(255, 71%, 63%)
CMYKcmyk(53.4%, 71.4%, 0%, 36.9%)
CIE-LABlab(29.47, 42.47, -57.73)
CIE-LCHlch(29.47, 71.67, 306.34°)
OKLaboklab(41.06% 0.0529 -0.1659)
OKLCHoklch(41.06% 0.174 287.7)
XYZxyz(10.3098, 6.0225, 34.3305)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EA1 #84A12E
analogous
#2E4BA1 #4B2EA1 #842EA1
triadic
#4B2EA1 #A14B2E #2EA14B
tetradic
#4B2EA1 #A12E4B #84A12E #2EA184
square
#4B2EA1 #A12E4B #84A12E #2EA184
split-complementary
#4B2EA1 #A1842E #4BA12E
monochromatic
#1F1342 #352071 #4B2EA1 #6543C9 #8C73D7

Accessibility & contrast

On white

9.53
#4B2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B2EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EA1
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EA1#FFFFFF#000000##FFFFFF
##4B2EA11.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#294C64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b2ea1;
/* rgb */ color: rgb(75, 46, 161);
/* oklch */ color: oklch(41.1% 0.174 287.7);
Tailwind
colors: {
  custom: {
    50: '#8669be',
    500: '#4b2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ea1;
$custom-light: #8669be;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ea1",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 255.13,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41059,
    "c": 0.17412,
    "h": 287.7
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#4B2EA1
secondary
#AABE6C
accent
#DF49B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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