#4B28AD#4B28AD

#4B28AD is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.195 H 286.4°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#4B28AD
RGBrgb(75, 40, 173)
HSLhsl(256, 62%, 42%)
HSVhsv(256, 77%, 68%)
CMYKcmyk(56.6%, 76.9%, 0%, 32.2%)
CIE-LABlab(29.49, 49.07, -64.93)
CIE-LCHlch(29.49, 81.39, 307.08°)
OKLaboklab(41.41% 0.0549 -0.1869)
OKLCHoklch(41.41% 0.195 286.4)
XYZxyz(11.2010, 6.0299, 40.1007)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28AD #8AAD28
analogous
#2848AD #4B28AD #8D28AD
triadic
#4B28AD #AD4B28 #28AD4B
tetradic
#4B28AD #AD2848 #8AAD28 #28AD8D
square
#4B28AD #AD2848 #8AAD28 #28AD8D
split-complementary
#4B28AD #AD8D28 #48AD28
monochromatic
#20114A #351D7B #4B28AD #663FD3 #8E71DE

Accessibility & contrast

On white

9.52
#4B28AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B28AD
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28AD#FFFFFF#000000##FFFFFF
##4B28AD1.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#1D4E69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b28ad;
/* rgb */ color: rgb(75, 40, 173);
/* oklch */ color: oklch(41.4% 0.195 286.4);
Tailwind
colors: {
  custom: {
    50: '#8966c7',
    500: '#4b28ad',
    950: '#000000',
  },
}
SCSS
$custom: #4b28ad;
$custom-light: #8966c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28ad",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 255.789,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41413,
    "c": 0.19483,
    "h": 286.4
  },
  "luminance": 0.06031
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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