#3F24A7#3F24A7

#3F24A7 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.193 H 282.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#3F24A7
RGBrgb(63, 36, 167)
HSLhsl(252, 65%, 40%)
HSVhsv(252, 78%, 65%)
CMYKcmyk(62.3%, 78.4%, 0%, 34.5%)
CIE-LABlab(27.04, 47.77, -65.40)
CIE-LCHlch(27.04, 80.98, 306.15°)
OKLaboklab(39.24% 0.0411 -0.1886)
OKLCHoklch(39.24% 0.193 282.3)
XYZxyz(9.6536, 5.1078, 37.0289)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24A7 #8CA724
analogous
#244BA7 #3F24A7 #8024A7
triadic
#3F24A7 #A73F24 #24A73F
tetradic
#3F24A7 #A7244B #8CA724 #24A780
square
#3F24A7 #A7244B #8CA724 #24A780
split-complementary
#3F24A7 #A78024 #4BA724
monochromatic
#190E42 #2C1975 #3F24A7 #5535D3 #8067DE

Accessibility & contrast

On white

10.39
#3F24A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3F24A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24A7
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24A7#FFFFFF#000000##FFFFFF
##3F24A71.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004B65
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f24a7;
/* rgb */ color: rgb(63, 36, 167);
/* oklch */ color: oklch(39.2% 0.193 282.3);
Tailwind
colors: {
  custom: {
    50: '#8263c2',
    500: '#3f24a7',
    950: '#000000',
  },
}
SCSS
$custom: #3f24a7;
$custom-light: #8263c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24a7",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 252.366,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39239,
    "c": 0.19305,
    "h": 282.3
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#3F24A7
secondary
#B0C463
accent
#E840C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F24A7

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

Preview Lab → · Contrast checker → · Palette generator →

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