#4B2ABA#4B2ABA

#4B2ABA is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.9% C 0.208 H 283.9°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#4B2ABA
RGBrgb(75, 42, 186)
HSLhsl(254, 63%, 45%)
HSVhsv(254, 77%, 73%)
CMYKcmyk(59.7%, 77.4%, 0%, 27.1%)
CIE-LABlab(31.10, 51.84, -70.01)
CIE-LCHlch(31.10, 87.12, 306.52°)
OKLaboklab(42.93% 0.0499 -0.2018)
OKLCHoklch(42.93% 0.208 283.9)
XYZxyz(12.5898, 6.6961, 47.0739)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2ABA #99BA2A
analogous
#2A51BA #4B2ABA #932ABA
triadic
#4B2ABA #BA4B2A #2ABA4B
tetradic
#4B2ABA #BA2A51 #99BA2A #2ABA93
square
#4B2ABA #BA2A51 #99BA2A #2ABA93
split-complementary
#4B2ABA #BA932A #51BA2A
monochromatic
#231356 #371F88 #4B2ABA #6B4BD6 #947DE2

Accessibility & contrast

On white

8.98
#4B2ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4B2ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2ABA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2ABA#FFFFFF#000000##FFFFFF
##4B2ABA1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#0044B7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4b2aba;
/* rgb */ color: rgb(75, 42, 186);
/* oklch */ color: oklch(42.9% 0.208 283.9);
Tailwind
colors: {
  custom: {
    50: '#8b68d0',
    500: '#4b2aba',
    950: '#000000',
  },
}
SCSS
$custom: #4b2aba;
$custom-light: #8b68d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2aba",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 253.75,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42929,
    "c": 0.20788,
    "h": 283.9
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#4B2ABA
secondary
#B7CA76
accent
#E642C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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