#4B24A3#4B24A3

#4B24A3 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 40.0% C 0.187 H 288.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#4B24A3
RGBrgb(75, 36, 163)
HSLhsl(258, 64%, 39%)
HSVhsv(258, 78%, 64%)
CMYKcmyk(54%, 77.9%, 0%, 36.1%)
CIE-LABlab(27.85, 48.15, -61.60)
CIE-LCHlch(27.85, 78.18, 308.01°)
OKLaboklab(39.97% 0.0607 -0.1771)
OKLCHoklch(39.97% 0.187 288.9)
XYZxyz(10.1415, 5.4015, 35.1514)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B24A3 #7CA324
analogous
#243DA3 #4B24A3 #8B24A3
triadic
#4B24A3 #A34B24 #24A34B
tetradic
#4B24A3 #A3243D #7CA324 #24A38B
square
#4B24A3 #A3243D #7CA324 #24A38B
split-complementary
#4B24A3 #A38B24 #3DA324
monochromatic
#1D0E3F #341971 #4B24A3 #6332D2 #8965DD

Accessibility & contrast

On white

10.09
#4B24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4B24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B24A3
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B24A3#FFFFFF#000000##FFFFFF
##4B24A31.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#284863
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b24a3;
/* rgb */ color: rgb(75, 36, 163);
/* oklch */ color: oklch(40.0% 0.187 288.9);
Tailwind
colors: {
  custom: {
    50: '#8764bf',
    500: '#4b24a3',
    950: '#000000',
  },
}
SCSS
$custom: #4b24a3;
$custom-light: #8764bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4b24a3",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 258.425,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39973,
    "c": 0.18725,
    "h": 288.9
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#4B24A3
secondary
#A4C260
accent
#E741B4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4B24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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