#4F24B0#4F24B0

#4F24B0 is a dark, highly saturated violet. Relative luminance 0.061; OKLCH L 41.6% C 0.202 H 288.2°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#4F24B0
RGBrgb(79, 36, 176)
HSLhsl(258, 66%, 42%)
HSVhsv(258, 80%, 69%)
CMYKcmyk(55.1%, 79.5%, 0%, 31%)
CIE-LABlab(29.56, 52.28, -66.60)
CIE-LCHlch(29.56, 84.67, 308.13°)
OKLaboklab(41.65% 0.0629 -0.1916)
OKLCHoklch(41.65% 0.202 288.2)
XYZxyz(11.6895, 6.0580, 41.6192)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F24B0 #85B024
analogous
#243FB0 #4F24B0 #9524B0
triadic
#4F24B0 #B04F24 #24B04F
tetradic
#4F24B0 #B0243F #85B024 #24B095
square
#4F24B0 #B0243F #85B024 #24B095
split-complementary
#4F24B0 #B09524 #3FB024
monochromatic
#210F4A #381A7D #4F24B0 #6A3AD7 #916DE1

Accessibility & contrast

On white

9.49
#4F24B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4F24B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F24B0
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F24B0#FFFFFF#000000##FFFFFF
##4F24B01.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B4
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#264D6A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4f24b0;
/* rgb */ color: rgb(79, 36, 176);
/* oklch */ color: oklch(41.6% 0.202 288.2);
Tailwind
colors: {
  custom: {
    50: '#8b65c9',
    500: '#4f24b0',
    950: '#000000',
  },
}
SCSS
$custom: #4f24b0;
$custom-light: #8b65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f24b0",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 176
  },
  "hsl": {
    "h": 258.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4165,
    "c": 0.20169,
    "h": 288.2
  },
  "luminance": 0.06059
}

Semantic roles & 50–950 ramp

primary
#4F24B0
secondary
#AAC868
accent
#E93FB5
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4F24B0

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

Preview Lab → · Contrast checker → · Palette generator →

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