#4B24BB#4B24BB

#4B24BB is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.4% C 0.214 H 284.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#4B24BB
RGBrgb(75, 36, 187)
HSLhsl(255, 68%, 44%)
HSVhsv(255, 81%, 73%)
CMYKcmyk(59.9%, 80.7%, 0%, 26.7%)
CIE-LABlab(30.27, 54.84, -71.99)
CIE-LCHlch(30.27, 90.50, 307.30°)
OKLaboklab(42.38% 0.0532 -0.2075)
OKLCHoklch(42.38% 0.214 284.4)
XYZxyz(12.4994, 6.3447, 47.5701)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B24BB #94BB24
analogous
#2448BB #4B24BB #9624BB
triadic
#4B24BB #BB4B24 #24BB4B
tetradic
#4B24BB #BB2448 #94BB24 #24BB96
square
#4B24BB #BB2448 #94BB24 #24BB96
split-complementary
#4B24BB #BB9624 #48BB24
monochromatic
#221054 #361A88 #4B24BB #6942DB #9275E4

Accessibility & contrast

On white

9.26
#4B24BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4B24BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B24BB
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B24BB#FFFFFF#000000##FFFFFF
##4B24BB1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4b24bb;
/* rgb */ color: rgb(75, 36, 187);
/* oklch */ color: oklch(42.4% 0.214 284.4);
Tailwind
colors: {
  custom: {
    50: '#8b65d1',
    500: '#4b24bb',
    950: '#000000',
  },
}
SCSS
$custom: #4b24bb;
$custom-light: #8b65d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4b24bb",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 255.497,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.21422,
    "h": 284.4
  },
  "luminance": 0.06345
}

Semantic roles & 50–950 ramp

primary
#4B24BB
secondary
#B4CC6F
accent
#EB3DBE
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4B24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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