#3F24B4#3F24B4

#3F24B4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.208 H 280.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3F24B4
RGBrgb(63, 36, 180)
HSLhsl(251, 67%, 42%)
HSVhsv(251, 80%, 71%)
CMYKcmyk(65%, 80%, 0%, 29.4%)
CIE-LABlab(28.41, 51.60, -70.93)
CIE-LCHlch(28.41, 87.71, 306.04°)
OKLaboklab(40.6% 0.0373 -0.2047)
OKLCHoklch(40.6% 0.208 280.3)
XYZxyz(10.9164, 5.6129, 43.6793)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24B4 #99B424
analogous
#2451B4 #3F24B4 #8724B4
triadic
#3F24B4 #B43F24 #24B43F
tetradic
#3F24B4 #B42451 #99B424 #24B487
square
#3F24B4 #B42451 #99B424 #24B487
split-complementary
#3F24B4 #B48724 #51B424
monochromatic
#1B104E #2D1A81 #3F24B4 #5A3DD8 #8570E2

Accessibility & contrast

On white

9.89
#3F24B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3F24B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24B4
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24B4#FFFFFF#000000##FFFFFF
##3F24B41.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f24b4;
/* rgb */ color: rgb(63, 36, 180);
/* oklch */ color: oklch(40.6% 0.208 280.3);
Tailwind
colors: {
  custom: {
    50: '#8464cc',
    500: '#3f24b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f24b4;
$custom-light: #8464cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24b4",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 180
  },
  "hsl": {
    "h": 251.25,
    "s": 66.667,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40603,
    "c": 0.20812,
    "h": 280.3
  },
  "luminance": 0.05614
}

Semantic roles & 50–950 ramp

primary
#3F24B4
secondary
#B7C96B
accent
#EA3EC9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3F24B4

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

Preview Lab → · Contrast checker → · Palette generator →

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