#4B2AB9#4B2AB9

#4B2AB9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.207 H 284.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#4B2AB9
RGBrgb(75, 42, 185)
HSLhsl(254, 63%, 45%)
HSVhsv(254, 77%, 73%)
CMYKcmyk(59.5%, 77.3%, 0%, 27.5%)
CIE-LABlab(31.01, 51.55, -69.59)
CIE-LCHlch(31.01, 86.60, 306.53°)
OKLaboklab(42.83% 0.0502 -0.2006)
OKLCHoklch(42.83% 0.207 284)
XYZxyz(12.4839, 6.6538, 46.5160)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AB9 #98B92A
analogous
#2A51B9 #4B2AB9 #932AB9
triadic
#4B2AB9 #B94B2A #2AB94B
tetradic
#4B2AB9 #B92A51 #98B92A #2AB993
square
#4B2AB9 #B92A51 #98B92A #2AB993
split-complementary
#4B2AB9 #B9932A #51B92A
monochromatic
#231355 #371F87 #4B2AB9 #6A4AD6 #937CE1

Accessibility & contrast

On white

9.01
#4B2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#4B2AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AB9
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AB9#FFFFFF#000000##FFFFFF
##4B2AB91.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2ab9;
/* rgb */ color: rgb(75, 42, 185);
/* oklch */ color: oklch(42.8% 0.207 284.0);
Tailwind
colors: {
  custom: {
    50: '#8a68cf',
    500: '#4b2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ab9;
$custom-light: #8a68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ab9",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 253.846,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4283,
    "c": 0.20674,
    "h": 284
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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