#3F24AE#3F24AE

#3F24AE is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.0% C 0.201 H 281.2°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3F24AE
RGBrgb(63, 36, 174)
HSLhsl(252, 66%, 41%)
HSVhsv(252, 79%, 68%)
CMYKcmyk(63.8%, 79.3%, 0%, 31.8%)
CIE-LABlab(27.77, 49.84, -68.40)
CIE-LCHlch(27.77, 84.63, 306.08°)
OKLaboklab(39.97% 0.0391 -0.1974)
OKLCHoklch(39.97% 0.201 281.2)
XYZxyz(10.3183, 5.3737, 40.5297)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24AE #93AE24
analogous
#244EAE #3F24AE #8424AE
triadic
#3F24AE #AE3F24 #24AE3F
tetradic
#3F24AE #AE244E #93AE24 #24AE84
square
#3F24AE #AE244E #93AE24 #24AE84
split-complementary
#3F24AE #AE8424 #4EAE24
monochromatic
#1A0F49 #2D1A7B #3F24AE #5839D6 #836CE1

Accessibility & contrast

On white

10.12
#3F24AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3F24AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24AE
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24AE#FFFFFF#000000##FFFFFF
##3F24AE1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f24ae;
/* rgb */ color: rgb(63, 36, 174);
/* oklch */ color: oklch(40.0% 0.201 281.2);
Tailwind
colors: {
  custom: {
    50: '#8363c7',
    500: '#3f24ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f24ae;
$custom-light: #8363c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24ae",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 251.739,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39969,
    "c": 0.20121,
    "h": 281.2
  },
  "luminance": 0.05375
}

Semantic roles & 50–950 ramp

primary
#3F24AE
secondary
#B4C767
accent
#E93FC7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F24AE

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

Preview Lab → · Contrast checker → · Palette generator →

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