#4B2EA9#4B2EA9

#4B2EA9 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.184 H 286.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#4B2EA9
RGBrgb(75, 46, 169)
HSLhsl(254, 57%, 42%)
HSVhsv(254, 73%, 66%)
CMYKcmyk(55.6%, 72.8%, 0%, 33.7%)
CIE-LABlab(30.19, 44.84, -61.38)
CIE-LCHlch(30.19, 76.01, 306.15°)
OKLaboklab(41.79% 0.0513 -0.1766)
OKLCHoklch(41.79% 0.184 286.2)
XYZxyz(11.0379, 6.3138, 38.1655)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EA9 #8CA92E
analogous
#2E4FA9 #4B2EA9 #882EA9
triadic
#4B2EA9 #A94B2E #2EA94B
tetradic
#4B2EA9 #A92E4F #8CA92E #2EA988
square
#4B2EA9 #A92E4F #8CA92E #2EA988
split-complementary
#4B2EA9 #A9882E #4FA92E
monochromatic
#201449 #362179 #4B2EA9 #6747CD #8F77DA

Accessibility & contrast

On white

9.28
#4B2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#4B2EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EA9
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EA9#FFFFFF#000000##FFFFFF
##4B2EA91.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#214F68
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b2ea9;
/* rgb */ color: rgb(75, 46, 169);
/* oklch */ color: oklch(41.8% 0.184 286.2);
Tailwind
colors: {
  custom: {
    50: '#876ac4',
    500: '#4b2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ea9;
$custom-light: #876ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ea9",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 254.146,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41794,
    "c": 0.18386,
    "h": 286.2
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#4B2EA9
secondary
#AFC271
accent
#E047BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4B2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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