#4B2EA5#4B2EA5

#4B2EA5 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.4% C 0.179 H 286.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#4B2EA5
RGBrgb(75, 46, 165)
HSLhsl(255, 56%, 41%)
HSVhsv(255, 72%, 65%)
CMYKcmyk(54.5%, 72.1%, 0%, 35.3%)
CIE-LABlab(29.83, 43.66, -59.56)
CIE-LCHlch(29.83, 73.85, 306.24°)
OKLaboklab(41.42% 0.0521 -0.1713)
OKLCHoklch(41.42% 0.179 286.9)
XYZxyz(10.6682, 6.1659, 36.2180)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EA5 #88A52E
analogous
#2E4DA5 #4B2EA5 #872EA5
triadic
#4B2EA5 #A54B2E #2EA54B
tetradic
#4B2EA5 #A52E4D #88A52E #2EA587
square
#4B2EA5 #A52E4D #88A52E #2EA587
split-complementary
#4B2EA5 #A5872E #4DA52E
monochromatic
#1F1345 #352175 #4B2EA5 #6645CB #8D75D8

Accessibility & contrast

On white

9.40
#4B2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#4B2EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EA5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EA5#FFFFFF#000000##FFFFFF
##4B2EA51.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#264E66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2ea5;
/* rgb */ color: rgb(75, 46, 165);
/* oklch */ color: oklch(41.4% 0.179 286.9);
Tailwind
colors: {
  custom: {
    50: '#8769c1',
    500: '#4b2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ea5;
$custom-light: #8769c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ea5",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 254.622,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41424,
    "c": 0.17901,
    "h": 286.9
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#4B2EA5
secondary
#ACC06F
accent
#E048BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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