#4F24AE#4F24AE

#4F24AE is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.5% C 0.199 H 288.6°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4F24AE
RGBrgb(79, 36, 174)
HSLhsl(259, 66%, 41%)
HSVhsv(259, 79%, 68%)
CMYKcmyk(54.6%, 79.3%, 0%, 31.8%)
CIE-LABlab(29.36, 51.73, -65.73)
CIE-LCHlch(29.36, 83.64, 308.20°)
OKLaboklab(41.45% 0.0635 -0.1891)
OKLCHoklch(41.45% 0.199 288.6)
XYZxyz(11.4931, 5.9794, 40.5847)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F24AE #83AE24
analogous
#243EAE #4F24AE #9424AE
triadic
#4F24AE #AE4F24 #24AE4F
tetradic
#4F24AE #AE243E #83AE24 #24AE94
square
#4F24AE #AE243E #83AE24 #24AE94
split-complementary
#4F24AE #AE9424 #3EAE24
monochromatic
#210F49 #381A7B #4F24AE #6A39D6 #906CE1

Accessibility & contrast

On white

9.56
#4F24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4F24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F24AE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F24AE#FFFFFF#000000##FFFFFF
##4F24AE1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#284C69
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4f24ae;
/* rgb */ color: rgb(79, 36, 174);
/* oklch */ color: oklch(41.5% 0.199 288.6);
Tailwind
colors: {
  custom: {
    50: '#8b65c7',
    500: '#4f24ae',
    950: '#000000',
  },
}
SCSS
$custom: #4f24ae;
$custom-light: #8b65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f24ae",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 258.696,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41453,
    "c": 0.19948,
    "h": 288.6
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#4F24AE
secondary
#A9C767
accent
#E93FB4
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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