#4B24A6#4B24A6

#4B24A6 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.3% C 0.191 H 288.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4B24A6
RGBrgb(75, 36, 166)
HSLhsl(258, 64%, 40%)
HSVhsv(258, 78%, 65%)
CMYKcmyk(54.8%, 78.3%, 0%, 34.9%)
CIE-LABlab(28.14, 48.99, -62.93)
CIE-LCHlch(28.14, 79.75, 307.90°)
OKLaboklab(40.27% 0.0598 -0.1811)
OKLCHoklch(40.27% 0.191 288.3)
XYZxyz(10.4134, 5.5103, 36.5839)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B24A6 #7FA624
analogous
#243EA6 #4B24A6 #8C24A6
triadic
#4B24A6 #A64B24 #24A64B
tetradic
#4B24A6 #A6243E #7FA624 #24A68C
square
#4B24A6 #A6243E #7FA624 #24A68C
split-complementary
#4B24A6 #A68C24 #3EA624
monochromatic
#1E0E41 #341974 #4B24A6 #6434D3 #8A66DE

Accessibility & contrast

On white

9.99
#4B24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4B24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B24A6
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B24A6#FFFFFF#000000##FFFFFF
##4B24A61.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AA
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#254964
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b24a6;
/* rgb */ color: rgb(75, 36, 166);
/* oklch */ color: oklch(40.3% 0.191 288.3);
Tailwind
colors: {
  custom: {
    50: '#8864c2',
    500: '#4b24a6',
    950: '#000000',
  },
}
SCSS
$custom: #4b24a6;
$custom-light: #8864c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b24a6",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 258,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40266,
    "c": 0.19067,
    "h": 288.3
  },
  "luminance": 0.05511
}

Semantic roles & 50–950 ramp

primary
#4B24A6
secondary
#A6C462
accent
#E740B5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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