#4F24CA#4F24CA

#4F24CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.3% C 0.230 H 283.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4F24CA
RGBrgb(79, 36, 202)
HSLhsl(256, 70%, 47%)
HSVhsv(256, 82%, 79%)
CMYKcmyk(60.9%, 82.2%, 0%, 20.8%)
CIE-LABlab(32.23, 59.36, -77.55)
CIE-LCHlch(32.23, 97.66, 307.43°)
OKLaboklab(44.29% 0.0543 -0.2236)
OKLCHoklch(44.29% 0.23 283.6)
XYZxyz(14.5127, 7.1873, 56.4882)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F24CA #9FCA24
analogous
#244CCA #4F24CA #A224CA
triadic
#4F24CA #CA4F24 #24CA4F
tetradic
#4F24CA #CA244C #9FCA24 #24CAA2
square
#4F24CA #CA244C #9FCA24 #24CAA2
split-complementary
#4F24CA #CAA224 #4CCA24
monochromatic
#261162 #3B1B96 #4F24CA #724CDF #9B80E8

Accessibility & contrast

On white

8.62
#4F24CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4F24CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F24CA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F24CA#FFFFFF#000000##FFFFFF
##4F24CA1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#005879
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4f24ca;
/* rgb */ color: rgb(79, 36, 202);
/* oklch */ color: oklch(44.3% 0.230 283.6);
Tailwind
colors: {
  custom: {
    50: '#9066dc',
    500: '#4f24ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f24ca;
$custom-light: #9066dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f24ca",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 202
  },
  "hsl": {
    "h": 255.542,
    "s": 69.748,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4429,
    "c": 0.2301,
    "h": 283.6
  },
  "luminance": 0.07188
}

Semantic roles & 50–950 ramp

primary
#4F24CA
secondary
#BAD179
accent
#ED3BBF
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4F24CA

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

Preview Lab → · Contrast checker → · Palette generator →

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