#4B28AE#4B28AE

#4B28AE is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.196 H 286.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4B28AE
RGBrgb(75, 40, 174)
HSLhsl(256, 63%, 42%)
HSVhsv(256, 77%, 68%)
CMYKcmyk(56.9%, 77%, 0%, 31.8%)
CIE-LABlab(29.59, 49.35, -65.37)
CIE-LCHlch(29.59, 81.91, 307.05°)
OKLaboklab(41.51% 0.0546 -0.1882)
OKLCHoklch(41.51% 0.196 286.2)
XYZxyz(11.2981, 6.0688, 40.6122)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28AE #8BAE28
analogous
#2848AE #4B28AE #8E28AE
triadic
#4B28AE #AE4B28 #28AE4B
tetradic
#4B28AE #AE2848 #8BAE28 #28AE8E
square
#4B28AE #AE2848 #8BAE28 #28AE8E
split-complementary
#4B28AE #AE8E28 #48AE28
monochromatic
#20114A #361D7C #4B28AE #6640D3 #8E72DF

Accessibility & contrast

On white

9.49
#4B28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4B28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B28AE
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28AE#FFFFFF#000000##FFFFFF
##4B28AE1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#1B4E6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4b28ae;
/* rgb */ color: rgb(75, 40, 174);
/* oklch */ color: oklch(41.5% 0.196 286.2);
Tailwind
colors: {
  custom: {
    50: '#8966c7',
    500: '#4b28ae',
    950: '#000000',
  },
}
SCSS
$custom: #4b28ae;
$custom-light: #8966c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28ae",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 255.672,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41511,
    "c": 0.19598,
    "h": 286.2
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#4B28AE
secondary
#AEC66C
accent
#E642BB
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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