#4B2AB3#4B2AB3

#4B2AB3 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.200 H 285.0°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4B2AB3
RGBrgb(75, 42, 179)
HSLhsl(254, 62%, 43%)
HSVhsv(254, 77%, 70%)
CMYKcmyk(58.1%, 76.5%, 0%, 29.8%)
CIE-LABlab(30.41, 49.82, -67.00)
CIE-LCHlch(30.41, 83.49, 306.64°)
OKLaboklab(42.24% 0.0518 -0.193)
OKLCHoklch(42.24% 0.2 285)
XYZxyz(11.8638, 6.4057, 43.2504)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AB3 #92B32A
analogous
#2A4DB3 #4B2AB3 #8F2AB3
triadic
#4B2AB3 #B34B2A #2AB34B
tetradic
#4B2AB3 #B32A4D #92B32A #2AB38F
square
#4B2AB3 #B32A4D #92B32A #2AB38F
split-complementary
#4B2AB3 #B38F2A #4DB32A
monochromatic
#211350 #361E81 #4B2AB3 #6946D4 #9178DF

Accessibility & contrast

On white

9.21
#4B2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4B2AB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AB3
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AB3#FFFFFF#000000##FFFFFF
##4B2AB31.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#12516D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4b2ab3;
/* rgb */ color: rgb(75, 42, 179);
/* oklch */ color: oklch(42.2% 0.200 285.0);
Tailwind
colors: {
  custom: {
    50: '#8968cb',
    500: '#4b2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ab3;
$custom-light: #8968cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ab3",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 254.453,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42238,
    "c": 0.19983,
    "h": 285
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#4B2AB3
secondary
#B3C772
accent
#E543BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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