#4B28D0#4B28D0

#4B28D0 is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 45.0% C 0.234 H 280.9°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#4B28D0
RGBrgb(75, 40, 208)
HSLhsl(253, 68%, 49%)
HSVhsv(253, 81%, 82%)
CMYKcmyk(63.9%, 80.8%, 0%, 18.4%)
CIE-LABlab(33.06, 58.98, -79.68)
CIE-LCHlch(33.06, 99.13, 306.51°)
OKLaboklab(44.96% 0.0444 -0.2299)
OKLCHoklch(44.96% 0.234 280.9)
XYZxyz(15.0420, 7.5663, 60.3301)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28D0 #ADD028
analogous
#2859D0 #4B28D0 #9F28D0
triadic
#4B28D0 #D04B28 #28D04B
tetradic
#4B28D0 #D02859 #ADD028 #28D09F
square
#4B28D0 #D02859 #ADD028 #28D09F
split-complementary
#4B28D0 #D09F28 #59D028
monochromatic
#261469 #381E9D #4B28D0 #7357DF #9E8AE8

Accessibility & contrast

On white

8.35
#4B28D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4B28D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B28D0
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28D0#FFFFFF#000000##FFFFFF
##4B28D01.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053D5
Deuteranopia (green-blind)
#0047CD
Tritanopia (blue-blind)
#005C7D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4b28d0;
/* rgb */ color: rgb(75, 40, 208);
/* oklch */ color: oklch(45.0% 0.234 280.9);
Tailwind
colors: {
  custom: {
    50: '#8f68e0',
    500: '#4b28d0',
    950: '#000000',
  },
}
SCSS
$custom: #4b28d0;
$custom-light: #8f68e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28d0",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 208
  },
  "hsl": {
    "h": 252.5,
    "s": 67.742,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44963,
    "c": 0.2342,
    "h": 280.9
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

primary
#4B28D0
secondary
#C1D282
accent
#EB3DC6
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4B28D0

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

Preview Lab → · Contrast checker → · Palette generator →

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