#4B2AB6#4B2AB6

#4B2AB6 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.203 H 284.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4B2AB6
RGBrgb(75, 42, 182)
HSLhsl(254, 63%, 44%)
HSVhsv(254, 77%, 71%)
CMYKcmyk(58.8%, 76.9%, 0%, 28.6%)
CIE-LABlab(30.71, 50.69, -68.30)
CIE-LCHlch(30.71, 85.05, 306.58°)
OKLaboklab(42.53% 0.051 -0.1968)
OKLCHoklch(42.53% 0.203 284.5)
XYZxyz(12.1705, 6.5284, 44.8657)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AB6 #95B62A
analogous
#2A4FB6 #4B2AB6 #912AB6
triadic
#4B2AB6 #B64B2A #2AB64B
tetradic
#4B2AB6 #B62A4F #95B62A #2AB691
square
#4B2AB6 #B62A4F #95B62A #2AB691
split-complementary
#4B2AB6 #B6912A #4FB62A
monochromatic
#221353 #371F84 #4B2AB6 #6948D5 #927AE0

Accessibility & contrast

On white

9.11
#4B2AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4B2AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AB6
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AB6#FFFFFF#000000##FFFFFF
##4B2AB61.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#0A526F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2ab6;
/* rgb */ color: rgb(75, 42, 182);
/* oklch */ color: oklch(42.5% 0.203 284.5);
Tailwind
colors: {
  custom: {
    50: '#8a68cd',
    500: '#4b2ab6',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ab6;
$custom-light: #8a68cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ab6",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 254.143,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42533,
    "c": 0.20329,
    "h": 284.5
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#4B2AB6
secondary
#B4C873
accent
#E642BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4B2AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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