#3F24B1#3F24B1

#3F24B1 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.205 H 280.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#3F24B1
RGBrgb(63, 36, 177)
HSLhsl(251, 66%, 42%)
HSVhsv(251, 80%, 69%)
CMYKcmyk(64.4%, 79.7%, 0%, 30.6%)
CIE-LABlab(28.09, 50.72, -69.67)
CIE-LCHlch(28.09, 86.18, 306.06°)
OKLaboklab(40.28% 0.0382 -0.2011)
OKLCHoklch(40.28% 0.205 280.8)
XYZxyz(10.6141, 5.4920, 42.0872)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24B1 #96B124
analogous
#2450B1 #3F24B1 #8624B1
triadic
#3F24B1 #B13F24 #24B13F
tetradic
#3F24B1 #B12450 #96B124 #24B186
square
#3F24B1 #B12450 #96B124 #24B186
split-complementary
#3F24B1 #B18624 #50B124
monochromatic
#1B0F4B #2D1A7E #3F24B1 #593BD7 #846EE1

Accessibility & contrast

On white

10.01
#3F24B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3F24B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24B1
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24B1#FFFFFF#000000##FFFFFF
##3F24B11.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3f24b1;
/* rgb */ color: rgb(63, 36, 177);
/* oklch */ color: oklch(40.3% 0.205 280.8);
Tailwind
colors: {
  custom: {
    50: '#8464ca',
    500: '#3f24b1',
    950: '#000000',
  },
}
SCSS
$custom: #3f24b1;
$custom-light: #8464ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24b1",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 177
  },
  "hsl": {
    "h": 251.489,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40285,
    "c": 0.20467,
    "h": 280.8
  },
  "luminance": 0.05493
}

Semantic roles & 50–950 ramp

primary
#3F24B1
secondary
#B6C869
accent
#E93FC8
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F24B1

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

Preview Lab → · Contrast checker → · Palette generator →

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