#4F24A9#4F24A9

#4F24A9 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 41.0% C 0.194 H 289.6°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#4F24A9
RGBrgb(79, 36, 169)
HSLhsl(259, 65%, 40%)
HSVhsv(259, 79%, 66%)
CMYKcmyk(53.3%, 78.7%, 0%, 33.7%)
CIE-LABlab(28.87, 50.36, -63.53)
CIE-LCHlch(28.87, 81.07, 308.40°)
OKLaboklab(40.97% 0.0651 -0.1827)
OKLCHoklch(40.97% 0.194 289.6)
XYZxyz(11.0147, 5.7881, 38.0653)
Luminance0.0579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F24A9 #7EA924
analogous
#243CA9 #4F24A9 #9124A9
triadic
#4F24A9 #A94F24 #24A94F
tetradic
#4F24A9 #A9243C #7EA924 #24A991
square
#4F24A9 #A9243C #7EA924 #24A991
split-complementary
#4F24A9 #A99124 #3CA924
monochromatic
#200F44 #371977 #4F24A9 #6936D4 #8F68DF

Accessibility & contrast

On white

9.73
#4F24A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#4F24A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F24A9
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F24A9#FFFFFF#000000##FFFFFF
##4F24A91.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#0041A7
Tritanopia (blue-blind)
#2D4A66
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4f24a9;
/* rgb */ color: rgb(79, 36, 169);
/* oklch */ color: oklch(41.0% 0.194 289.6);
Tailwind
colors: {
  custom: {
    50: '#8a64c4',
    500: '#4f24a9',
    950: '#000000',
  },
}
SCSS
$custom: #4f24a9;
$custom-light: #8a64c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f24a9",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 259.398,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.19391,
    "h": 289.6
  },
  "luminance": 0.05789
}

Semantic roles & 50–950 ramp

primary
#4F24A9
secondary
#A6C564
accent
#E840B2
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F24A9

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

Preview Lab → · Contrast checker → · Palette generator →

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