#3F24BA#3F24BA

#3F24BA is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.2% C 0.215 H 279.5°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#3F24BA
RGBrgb(63, 36, 186)
HSLhsl(251, 68%, 44%)
HSVhsv(251, 81%, 73%)
CMYKcmyk(66.1%, 80.6%, 0%, 27.1%)
CIE-LABlab(29.06, 53.35, -73.42)
CIE-LCHlch(29.06, 90.76, 306.01°)
OKLaboklab(41.25% 0.0355 -0.212)
OKLCHoklch(41.25% 0.215 279.5)
XYZxyz(11.5409, 5.8627, 46.9683)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24BA #9FBA24
analogous
#2454BA #3F24BA #8A24BA
triadic
#3F24BA #BA3F24 #24BA3F
tetradic
#3F24BA #BA2454 #9FBA24 #24BA8A
square
#3F24BA #BA2454 #9FBA24 #24BA8A
split-complementary
#3F24BA #BA8A24 #54BA24
monochromatic
#1C1053 #2E1A87 #3F24BA #5D41DA #8874E4

Accessibility & contrast

On white

9.66
#3F24BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3F24BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24BA
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24BA#FFFFFF#000000##FFFFFF
##3F24BA1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005270
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3f24ba;
/* rgb */ color: rgb(63, 36, 186);
/* oklch */ color: oklch(41.2% 0.215 279.5);
Tailwind
colors: {
  custom: {
    50: '#8564d0',
    500: '#3f24ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f24ba;
$custom-light: #8564d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24ba",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 186
  },
  "hsl": {
    "h": 250.8,
    "s": 67.568,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41245,
    "c": 0.21496,
    "h": 279.5
  },
  "luminance": 0.05864
}

Semantic roles & 50–950 ramp

primary
#3F24BA
secondary
#BBCB6E
accent
#EA3DCB
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #3F24BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3F24BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva