#4E28BF#4E28BF

#4E28BF is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.5% C 0.215 H 284.6°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#4E28BF
RGBrgb(78, 40, 191)
HSLhsl(255, 65%, 45%)
HSVhsv(255, 79%, 75%)
CMYKcmyk(59.2%, 79.1%, 0%, 25.1%)
CIE-LABlab(31.57, 54.54, -72.18)
CIE-LCHlch(31.57, 90.47, 307.07°)
OKLaboklab(43.48% 0.0541 -0.208)
OKLCHoklch(43.48% 0.215 284.6)
XYZxyz(13.3018, 6.8980, 49.9106)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E28BF #99BF28
analogous
#284EBF #4E28BF #9928BF
triadic
#4E28BF #BF4E28 #28BF4E
tetradic
#4E28BF #BF284E #99BF28 #28BF99
square
#4E28BF #BF284E #99BF28 #28BF99
split-complementary
#4E28BF #BF9928 #4EBF28
monochromatic
#25135A #391D8C #4E28BF #6F4BD9 #977EE4

Accessibility & contrast

On white

8.82
#4E28BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4E28BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E28BF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E28BF#FFFFFF#000000##FFFFFF
##4E28BF1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC3
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#035574
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4e28bf;
/* rgb */ color: rgb(78, 40, 191);
/* oklch */ color: oklch(43.5% 0.215 284.6);
Tailwind
colors: {
  custom: {
    50: '#8d68d4',
    500: '#4e28bf',
    950: '#000000',
  },
}
SCSS
$custom: #4e28bf;
$custom-light: #8d68d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e28bf",
  "rgb": {
    "r": 78,
    "g": 40,
    "b": 191
  },
  "hsl": {
    "h": 255.099,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43476,
    "c": 0.21496,
    "h": 284.6
  },
  "luminance": 0.06899
}

Semantic roles & 50–950 ramp

primary
#4E28BF
secondary
#B7CC77
accent
#E83FBE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4E28BF

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

Preview Lab → · Contrast checker → · Palette generator →

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