#4F24BB#4F24BB

#4F24BB is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.8% C 0.214 H 286.1°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#4F24BB
RGBrgb(79, 36, 187)
HSLhsl(257, 68%, 44%)
HSVhsv(257, 81%, 73%)
CMYKcmyk(57.8%, 80.7%, 0%, 26.7%)
CIE-LABlab(30.67, 55.29, -71.31)
CIE-LCHlch(30.67, 90.23, 307.78°)
OKLaboklab(42.75% 0.0593 -0.2054)
OKLCHoklch(42.75% 0.214 286.1)
XYZxyz(12.8223, 6.5111, 47.5852)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F24BB #90BB24
analogous
#2444BB #4F24BB #9A24BB
triadic
#4F24BB #BB4F24 #24BB4F
tetradic
#4F24BB #BB2444 #90BB24 #24BB9A
square
#4F24BB #BB2444 #90BB24 #24BB9A
split-complementary
#4F24BB #BB9A24 #44BB24
monochromatic
#241054 #391A88 #4F24BB #6D42DB #9575E4

Accessibility & contrast

On white

9.12
#4F24BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#4F24BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F24BB
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F24BB#FFFFFF#000000##FFFFFF
##4F24BB1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#165271
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4f24bb;
/* rgb */ color: rgb(79, 36, 187);
/* oklch */ color: oklch(42.8% 0.214 286.1);
Tailwind
colors: {
  custom: {
    50: '#8d65d1',
    500: '#4f24bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f24bb;
$custom-light: #8d65d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f24bb",
  "rgb": {
    "r": 79,
    "g": 36,
    "b": 187
  },
  "hsl": {
    "h": 257.086,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4275,
    "c": 0.21381,
    "h": 286.1
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#4F24BB
secondary
#B1CC6F
accent
#EB3DB9
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0614
muted
#7E7A83

Preview Lab

Preview with #4F24BB

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

Preview Lab → · Contrast checker → · Palette generator →

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