#4B24B1#4B24B1

#4B24B1 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.203 H 286.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4B24B1
RGBrgb(75, 36, 177)
HSLhsl(257, 66%, 42%)
HSVhsv(257, 80%, 69%)
CMYKcmyk(57.6%, 79.7%, 0%, 30.6%)
CIE-LABlab(29.24, 52.06, -67.74)
CIE-LCHlch(29.24, 85.43, 307.54°)
OKLaboklab(41.36% 0.0564 -0.1951)
OKLCHoklch(41.36% 0.203 286.1)
XYZxyz(11.4659, 5.9313, 42.1271)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B24B1 #8AB124
analogous
#2443B1 #4B24B1 #9224B1
triadic
#4B24B1 #B14B24 #24B14B
tetradic
#4B24B1 #B12443 #8AB124 #24B192
square
#4B24B1 #B12443 #8AB124 #24B192
split-complementary
#4B24B1 #B19224 #43B124
monochromatic
#200F4B #351A7E #4B24B1 #663BD7 #8E6EE1

Accessibility & contrast

On white

9.60
#4B24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4B24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B24B1
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B24B1#FFFFFF#000000##FFFFFF
##4B24B11.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#174E6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b24b1;
/* rgb */ color: rgb(75, 36, 177);
/* oklch */ color: oklch(41.4% 0.203 286.1);
Tailwind
colors: {
  custom: {
    50: '#8964ca',
    500: '#4b24b1',
    950: '#000000',
  },
}
SCSS
$custom: #4b24b1;
$custom-light: #8964ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b24b1",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 256.596,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41359,
    "c": 0.20309,
    "h": 286.1
  },
  "luminance": 0.05932
}

Semantic roles & 50–950 ramp

primary
#4B24B1
secondary
#AEC869
accent
#E93FBA
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4B24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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