#4B2EA2#4B2EA2

#4B2EA2 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.175 H 287.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4B2EA2
RGBrgb(75, 46, 162)
HSLhsl(255, 56%, 41%)
HSVhsv(255, 72%, 64%)
CMYKcmyk(53.7%, 71.6%, 0%, 36.5%)
CIE-LABlab(29.56, 42.76, -58.19)
CIE-LCHlch(29.56, 72.21, 306.31°)
OKLaboklab(41.15% 0.0527 -0.1672)
OKLCHoklch(41.15% 0.175 287.5)
XYZxyz(10.3983, 6.0580, 34.7968)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2EA2 #85A22E
analogous
#2E4BA2 #4B2EA2 #852EA2
triadic
#4B2EA2 #A24B2E #2EA24B
tetradic
#4B2EA2 #A22E4B #85A22E #2EA285
square
#4B2EA2 #A22E4B #85A22E #2EA285
split-complementary
#4B2EA2 #A2852E #4BA22E
monochromatic
#1F1343 #352072 #4B2EA2 #6543CA #8C73D7

Accessibility & contrast

On white

9.50
#4B2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4B2EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2EA2
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2EA2#FFFFFF#000000##FFFFFF
##4B2EA21.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#284D65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b2ea2;
/* rgb */ color: rgb(75, 46, 162);
/* oklch */ color: oklch(41.1% 0.175 287.5);
Tailwind
colors: {
  custom: {
    50: '#8669bf',
    500: '#4b2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ea2;
$custom-light: #8669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ea2",
  "rgb": {
    "r": 75,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 255,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4115,
    "c": 0.17535,
    "h": 287.5
  },
  "luminance": 0.06058
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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