#3F24AC#3F24AC

#3F24AC is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.199 H 281.5°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3F24AC
RGBrgb(63, 36, 172)
HSLhsl(252, 65%, 41%)
HSVhsv(252, 79%, 67%)
CMYKcmyk(63.4%, 79.1%, 0%, 32.5%)
CIE-LABlab(27.56, 49.25, -67.54)
CIE-LCHlch(27.56, 83.59, 306.10°)
OKLaboklab(39.76% 0.0397 -0.1949)
OKLCHoklch(39.76% 0.199 281.5)
XYZxyz(10.1248, 5.2963, 39.5105)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24AC #91AC24
analogous
#244DAC #3F24AC #8324AC
triadic
#3F24AC #AC3F24 #24AC3F
tetradic
#3F24AC #AC244D #91AC24 #24AC83
square
#3F24AC #AC244D #91AC24 #24AC83
split-complementary
#3F24AC #AC8324 #4DAC24
monochromatic
#1A0F47 #2C1979 #3F24AC #5738D5 #826AE0

Accessibility & contrast

On white

10.20
#3F24AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3F24AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24AC
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24AC#FFFFFF#000000##FFFFFF
##3F24AC1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#004D68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f24ac;
/* rgb */ color: rgb(63, 36, 172);
/* oklch */ color: oklch(39.8% 0.199 281.5);
Tailwind
colors: {
  custom: {
    50: '#8363c6',
    500: '#3f24ac',
    950: '#000000',
  },
}
SCSS
$custom: #3f24ac;
$custom-light: #8363c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24ac",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 172
  },
  "hsl": {
    "h": 251.912,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.19889,
    "h": 281.5
  },
  "luminance": 0.05297
}

Semantic roles & 50–950 ramp

primary
#3F24AC
secondary
#B3C666
accent
#E83FC7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F24AC

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

Preview Lab → · Contrast checker → · Palette generator →

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