#4B28AB#4B28AB

#4B28AB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.193 H 286.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4B28AB
RGBrgb(75, 40, 171)
HSLhsl(256, 62%, 41%)
HSVhsv(256, 77%, 67%)
CMYKcmyk(56.1%, 76.6%, 0%, 32.9%)
CIE-LABlab(29.29, 48.50, -64.05)
CIE-LCHlch(29.29, 80.34, 307.13°)
OKLaboklab(41.22% 0.0554 -0.1844)
OKLCHoklch(41.22% 0.193 286.7)
XYZxyz(11.0089, 5.9531, 39.0892)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28AB #88AB28
analogous
#2846AB #4B28AB #8D28AB
triadic
#4B28AB #AB4B28 #28AB4B
tetradic
#4B28AB #AB2846 #88AB28 #28AB8D
square
#4B28AB #AB2846 #88AB28 #28AB8D
split-complementary
#4B28AB #AB8D28 #46AB28
monochromatic
#1F1148 #351C79 #4B28AB #663ED2 #8D70DE

Accessibility & contrast

On white

9.59
#4B28AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4B28AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B28AB
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28AB#FFFFFF#000000##FFFFFF
##4B28AB1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#1F4D68
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b28ab;
/* rgb */ color: rgb(75, 40, 171);
/* oklch */ color: oklch(41.2% 0.193 286.7);
Tailwind
colors: {
  custom: {
    50: '#8866c5',
    500: '#4b28ab',
    950: '#000000',
  },
}
SCSS
$custom: #4b28ab;
$custom-light: #8866c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28ab",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 256.031,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41218,
    "c": 0.19252,
    "h": 286.7
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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