#4B28AA#4B28AA

#4B28AA is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.1% C 0.191 H 286.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4B28AA
RGBrgb(75, 40, 170)
HSLhsl(256, 62%, 41%)
HSVhsv(256, 76%, 67%)
CMYKcmyk(55.9%, 76.5%, 0%, 33.3%)
CIE-LABlab(29.20, 48.21, -63.61)
CIE-LCHlch(29.20, 79.81, 307.16°)
OKLaboklab(41.12% 0.0557 -0.1831)
OKLCHoklch(41.12% 0.191 286.9)
XYZxyz(10.9140, 5.9151, 38.5891)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28AA #87AA28
analogous
#2846AA #4B28AA #8C28AA
triadic
#4B28AA #AA4B28 #28AA4B
tetradic
#4B28AA #AA2846 #87AA28 #28AA8C
square
#4B28AA #AA2846 #87AA28 #28AA8C
split-complementary
#4B28AA #AA8C28 #46AA28
monochromatic
#1F1147 #351C78 #4B28AA #653ED2 #8D6FDD

Accessibility & contrast

On white

9.62
#4B28AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B28AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B28AA
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28AA#FFFFFF#000000##FFFFFF
##4B28AA1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0041A8
Tritanopia (blue-blind)
#214D68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b28aa;
/* rgb */ color: rgb(75, 40, 170);
/* oklch */ color: oklch(41.1% 0.191 286.9);
Tailwind
colors: {
  custom: {
    50: '#8866c4',
    500: '#4b28aa',
    950: '#000000',
  },
}
SCSS
$custom: #4b28aa;
$custom-light: #8866c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28aa",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 256.154,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41122,
    "c": 0.19136,
    "h": 286.9
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#4B28AA
secondary
#ACC46A
accent
#E543B9
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B28AA

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

Preview Lab → · Contrast checker → · Palette generator →

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