#4E28BD#4E28BD

#4E28BD is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.3% C 0.213 H 284.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#4E28BD
RGBrgb(78, 40, 189)
HSLhsl(255, 65%, 45%)
HSVhsv(255, 79%, 74%)
CMYKcmyk(58.7%, 78.8%, 0%, 25.9%)
CIE-LABlab(31.37, 53.98, -71.34)
CIE-LCHlch(31.37, 89.46, 307.11°)
OKLaboklab(43.28% 0.0548 -0.2056)
OKLCHoklch(43.28% 0.213 284.9)
XYZxyz(13.0832, 6.8106, 48.7594)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E28BD #97BD28
analogous
#284CBD #4E28BD #9928BD
triadic
#4E28BD #BD4E28 #28BD4E
tetradic
#4E28BD #BD284C #97BD28 #28BD99
square
#4E28BD #BD284C #97BD28 #28BD99
split-complementary
#4E28BD #BD9928 #4CBD28
monochromatic
#241358 #391D8A #4E28BD #6E4AD9 #967CE3

Accessibility & contrast

On white

8.89
#4E28BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#4E28BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E28BD
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E28BD#FFFFFF#000000##FFFFFF
##4E28BD1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC1
Deuteranopia (green-blind)
#0045BA
Tritanopia (blue-blind)
#0A5472
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e28bd;
/* rgb */ color: rgb(78, 40, 189);
/* oklch */ color: oklch(43.3% 0.213 284.9);
Tailwind
colors: {
  custom: {
    50: '#8d68d2',
    500: '#4e28bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e28bd;
$custom-light: #8d68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e28bd",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 255.302,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43275,
    "c": 0.21273,
    "h": 284.9
  },
  "luminance": 0.06811
}

Semantic roles & 50–950 ramp

primary
#4E28BD
secondary
#B6CB75
accent
#E840BD
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4E28BD

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

Preview Lab → · Contrast checker → · Palette generator →

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