#3F24A6#3F24A6

#3F24A6 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.192 H 282.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3F24A6
RGBrgb(63, 36, 166)
HSLhsl(252, 64%, 40%)
HSVhsv(252, 78%, 65%)
CMYKcmyk(62%, 78.3%, 0%, 34.9%)
CIE-LABlab(26.94, 47.47, -64.96)
CIE-LCHlch(26.94, 80.46, 306.16°)
OKLaboklab(39.14% 0.0414 -0.1873)
OKLCHoklch(39.14% 0.192 282.5)
XYZxyz(9.5616, 5.0710, 36.5439)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24A6 #8BA624
analogous
#244AA6 #3F24A6 #8024A6
triadic
#3F24A6 #A63F24 #24A63F
tetradic
#3F24A6 #A6244A #8BA624 #24A680
square
#3F24A6 #A6244A #8BA624 #24A680
split-complementary
#3F24A6 #A68024 #4AA624
monochromatic
#190E41 #2C1974 #3F24A6 #5534D3 #7F66DE

Accessibility & contrast

On white

10.42
#3F24A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F24A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24A6
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24A6#FFFFFF#000000##FFFFFF
##3F24A61.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003BA4
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f24a6;
/* rgb */ color: rgb(63, 36, 166);
/* oklch */ color: oklch(39.1% 0.192 282.5);
Tailwind
colors: {
  custom: {
    50: '#8163c2',
    500: '#3f24a6',
    950: '#000000',
  },
}
SCSS
$custom: #3f24a6;
$custom-light: #8163c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24a6",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 252.462,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39136,
    "c": 0.19188,
    "h": 282.5
  },
  "luminance": 0.05072
}

Semantic roles & 50–950 ramp

primary
#3F24A6
secondary
#AFC462
accent
#E740C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F24A6

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

Preview Lab → · Contrast checker → · Palette generator →

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