#3F24A8#3F24A8

#3F24A8 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.194 H 282.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#3F24A8
RGBrgb(63, 36, 168)
HSLhsl(252, 65%, 40%)
HSVhsv(252, 79%, 66%)
CMYKcmyk(62.5%, 78.6%, 0%, 34.1%)
CIE-LABlab(27.14, 48.06, -65.83)
CIE-LCHlch(27.14, 81.51, 306.14°)
OKLaboklab(39.34% 0.0409 -0.1899)
OKLCHoklch(39.34% 0.194 282.1)
XYZxyz(9.7464, 5.1450, 37.5177)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24A8 #8DA824
analogous
#244BA8 #3F24A8 #8124A8
triadic
#3F24A8 #A83F24 #24A83F
tetradic
#3F24A8 #A8244B #8DA824 #24A881
square
#3F24A8 #A8244B #8DA824 #24A881
split-complementary
#3F24A8 #A88124 #4BA824
monochromatic
#190E43 #2C1976 #3F24A8 #5635D4 #8068DF

Accessibility & contrast

On white

10.35
#3F24A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3F24A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24A8
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24A8#FFFFFF#000000##FFFFFF
##3F24A81.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f24a8;
/* rgb */ color: rgb(63, 36, 168);
/* oklch */ color: oklch(39.3% 0.194 282.1);
Tailwind
colors: {
  custom: {
    50: '#8263c3',
    500: '#3f24a8',
    950: '#000000',
  },
}
SCSS
$custom: #3f24a8;
$custom-light: #8263c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24a8",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 252.273,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.39343,
    "c": 0.19423,
    "h": 282.1
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F24A8

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

Preview Lab → · Contrast checker → · Palette generator →

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