#4B24B2#4B24B2

#4B24B2 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.5% C 0.204 H 285.9°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4B24B2
RGBrgb(75, 36, 178)
HSLhsl(256, 66%, 42%)
HSVhsv(256, 80%, 70%)
CMYKcmyk(57.9%, 79.8%, 0%, 30.2%)
CIE-LABlab(29.34, 52.34, -68.17)
CIE-LCHlch(29.34, 85.94, 307.52°)
OKLaboklab(41.46% 0.0561 -0.1963)
OKLCHoklch(41.46% 0.204 285.9)
XYZxyz(11.5660, 5.9713, 42.6540)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B24B2 #8BB224
analogous
#2444B2 #4B24B2 #9224B2
triadic
#4B24B2 #B24B24 #24B24B
tetradic
#4B24B2 #B22444 #8BB224 #24B292
square
#4B24B2 #B22444 #8BB224 #24B292
split-complementary
#4B24B2 #B29224 #44B224
monochromatic
#200F4C #361A7F #4B24B2 #663CD8 #8E6FE2

Accessibility & contrast

On white

9.57
#4B24B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B24B2
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B24B2#FFFFFF#000000##FFFFFF
##4B24B21.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B6
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#154E6B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b24b2;
/* rgb */ color: rgb(75, 36, 178);
/* oklch */ color: oklch(41.5% 0.204 285.9);
Tailwind
colors: {
  custom: {
    50: '#8a65ca',
    500: '#4b24b2',
    950: '#000000',
  },
}
SCSS
$custom: #4b24b2;
$custom-light: #8a65ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4b24b2",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 256.479,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41459,
    "c": 0.2042,
    "h": 285.9
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B24B2

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

Preview Lab → · Contrast checker → · Palette generator →

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