#4B2AA3#4B2AA3

#4B2AA3 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.7% C 0.181 H 288.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4B2AA3
RGBrgb(75, 42, 163)
HSLhsl(256, 59%, 40%)
HSVhsv(256, 74%, 64%)
CMYKcmyk(54%, 74.2%, 0%, 36.1%)
CIE-LABlab(28.89, 45.18, -59.89)
CIE-LCHlch(28.89, 75.02, 307.03°)
OKLaboklab(40.71% 0.0559 -0.1722)
OKLCHoklch(40.71% 0.181 288)
XYZxyz(10.3385, 5.7956, 35.2171)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AA3 #82A32A
analogous
#2A45A3 #4B2AA3 #882AA3
triadic
#4B2AA3 #A34B2A #2AA34B
tetradic
#4B2AA3 #A32A45 #82A32A #2AA388
square
#4B2AA3 #A32A45 #82A32A #2AA388
split-complementary
#4B2AA3 #A3882A #45A32A
monochromatic
#1E1142 #351D72 #4B2AA3 #643DCD #8B6EDA

Accessibility & contrast

On white

9.73
#4B2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4B2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AA3
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AA3#FFFFFF#000000##FFFFFF
##4B2AA31.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#284B64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b2aa3;
/* rgb */ color: rgb(75, 42, 163);
/* oklch */ color: oklch(40.7% 0.181 288.0);
Tailwind
colors: {
  custom: {
    50: '#8767bf',
    500: '#4b2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aa3;
$custom-light: #8767bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aa3",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 256.364,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40705,
    "c": 0.18105,
    "h": 288
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#4B2AA3
secondary
#A8C068
accent
#E246B7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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