#4B28D1#4B28D1

#4B28D1 is a mid, highly saturated violet. Relative luminance 0.076; OKLCH L 45.1% C 0.235 H 280.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4B28D1
RGBrgb(75, 40, 209)
HSLhsl(252, 68%, 49%)
HSVhsv(252, 81%, 82%)
CMYKcmyk(64.1%, 80.9%, 0%, 18%)
CIE-LABlab(33.17, 59.25, -80.08)
CIE-LCHlch(33.17, 99.62, 306.50°)
OKLaboklab(45.07% 0.0441 -0.2311)
OKLCHoklch(45.07% 0.235 280.8)
XYZxyz(15.1654, 7.6157, 60.9800)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28D1 #AED128
analogous
#285AD1 #4B28D1 #A028D1
triadic
#4B28D1 #D14B28 #28D14B
tetradic
#4B28D1 #D1285A #AED128 #28D1A0
square
#4B28D1 #D1285A #AED128 #28D1A0
split-complementary
#4B28D1 #D1A028 #5AD128
monochromatic
#26146A #391E9E #4B28D1 #7357DF #9E8BE9

Accessibility & contrast

On white

8.32
#4B28D1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4B28D1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B28D1
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28D1#FFFFFF#000000##FFFFFF
##4B28D11.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D6
Deuteranopia (green-blind)
#0048CE
Tritanopia (blue-blind)
#005D7E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b28d1;
/* rgb */ color: rgb(75, 40, 209);
/* oklch */ color: oklch(45.1% 0.235 280.8);
Tailwind
colors: {
  custom: {
    50: '#8f69e1',
    500: '#4b28d1',
    950: '#000000',
  },
}
SCSS
$custom: #4b28d1;
$custom-light: #8f69e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28d1",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 209
  },
  "hsl": {
    "h": 252.426,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45068,
    "c": 0.23531,
    "h": 280.8
  },
  "luminance": 0.07617
}

Semantic roles & 50–950 ramp

primary
#4B28D1
secondary
#C2D382
accent
#EB3DC7
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #4B28D1

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

Preview Lab → · Contrast checker → · Palette generator →

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