#4B28BF#4B28BF

#4B28BF is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.2% C 0.215 H 283.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4B28BF
RGBrgb(75, 40, 191)
HSLhsl(254, 65%, 45%)
HSVhsv(254, 79%, 75%)
CMYKcmyk(60.7%, 79.1%, 0%, 25.1%)
CIE-LABlab(31.29, 54.20, -72.67)
CIE-LCHlch(31.29, 90.65, 306.72°)
OKLaboklab(43.21% 0.0497 -0.2095)
OKLCHoklch(43.21% 0.215 283.3)
XYZxyz(13.0615, 6.7741, 49.8994)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B28BF #9CBF28
analogous
#2851BF #4B28BF #9628BF
triadic
#4B28BF #BF4B28 #28BF4B
tetradic
#4B28BF #BF2851 #9CBF28 #28BF96
square
#4B28BF #BF2851 #9CBF28 #28BF96
split-complementary
#4B28BF #BF9628 #51BF28
monochromatic
#23135A #371D8C #4B28BF #6C4BD9 #957EE4

Accessibility & contrast

On white

8.92
#4B28BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B28BF
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B28BF#FFFFFF#000000##FFFFFF
##4B28BF1.008.922.368.92
#FFFFFF8.921.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b28bf;
/* rgb */ color: rgb(75, 40, 191);
/* oklch */ color: oklch(43.2% 0.215 283.3);
Tailwind
colors: {
  custom: {
    50: '#8c67d4',
    500: '#4b28bf',
    950: '#000000',
  },
}
SCSS
$custom: #4b28bf;
$custom-light: #8c67d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b28bf",
  "rgb": {
    "r": 75,
    "g": 40,
    "b": 191
  },
  "hsl": {
    "h": 253.907,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43207,
    "c": 0.21533,
    "h": 283.3
  },
  "luminance": 0.06775
}

Semantic roles & 50–950 ramp

primary
#4B28BF
secondary
#B8CC77
accent
#E83FC1
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4B28BF

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

Preview Lab → · Contrast checker → · Palette generator →

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