#4B28AC#4B28AC

#4B28AC is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.194 H 286.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#4B28AC
RGBrgb(75, 40, 172)
HSLhsl(256, 62%, 42%)
HSVhsv(256, 77%, 67%)
CMYKcmyk(56.4%, 76.7%, 0%, 32.5%)
CIE-LABlab(29.39, 48.78, -64.49)
CIE-LCHlch(29.39, 80.86, 307.10°)
OKLaboklab(41.32% 0.0552 -0.1856)
OKLCHoklch(41.32% 0.194 286.5)
XYZxyz(11.1046, 5.9914, 39.5930)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28AC #89AC28
analogous
#2847AC #4B28AC #8D28AC
triadic
#4B28AC #AC4B28 #28AC4B
tetradic
#4B28AC #AC2847 #89AC28 #28AC8D
square
#4B28AC #AC2847 #89AC28 #28AC8D
split-complementary
#4B28AC #AC8D28 #47AC28
monochromatic
#201149 #351C7A #4B28AC #663FD2 #8E71DE

Accessibility & contrast

On white

9.55
#4B28AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B28AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B28AC
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28AC#FFFFFF#000000##FFFFFF
##4B28AC1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#1E4D69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b28ac;
/* rgb */ color: rgb(75, 40, 172);
/* oklch */ color: oklch(41.3% 0.194 286.5);
Tailwind
colors: {
  custom: {
    50: '#8866c6',
    500: '#4b28ac',
    950: '#000000',
  },
}
SCSS
$custom: #4b28ac;
$custom-light: #8866c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28ac",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 255.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.19367,
    "h": 286.5
  },
  "luminance": 0.05992
}

Semantic roles & 50–950 ramp

primary
#4B28AC
secondary
#ADC56B
accent
#E542BA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4B28AC

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

Preview Lab → · Contrast checker → · Palette generator →

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