#3F24B3#3F24B3

#3F24B3 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.5% C 0.207 H 280.5°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#3F24B3
RGBrgb(63, 36, 179)
HSLhsl(251, 67%, 42%)
HSVhsv(251, 80%, 70%)
CMYKcmyk(64.8%, 79.9%, 0%, 29.8%)
CIE-LABlab(28.31, 51.31, -70.51)
CIE-LCHlch(28.31, 87.20, 306.04°)
OKLaboklab(40.5% 0.0376 -0.2035)
OKLCHoklch(40.5% 0.207 280.5)
XYZxyz(10.8149, 5.5723, 43.1447)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24B3 #98B324
analogous
#2450B3 #3F24B3 #8724B3
triadic
#3F24B3 #B33F24 #24B33F
tetradic
#3F24B3 #B32450 #98B324 #24B387
square
#3F24B3 #B32450 #98B324 #24B387
split-complementary
#3F24B3 #B38724 #50B324
monochromatic
#1B104D #2D1A80 #3F24B3 #5A3CD8 #856FE2

Accessibility & contrast

On white

9.93
#3F24B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3F24B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24B3
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24B3#FFFFFF#000000##FFFFFF
##3F24B31.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f24b3;
/* rgb */ color: rgb(63, 36, 179);
/* oklch */ color: oklch(40.5% 0.207 280.5);
Tailwind
colors: {
  custom: {
    50: '#8464cb',
    500: '#3f24b3',
    950: '#000000',
  },
}
SCSS
$custom: #3f24b3;
$custom-light: #8464cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24b3",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 179
  },
  "hsl": {
    "h": 251.329,
    "s": 66.512,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.20697,
    "h": 280.5
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#3F24B3
secondary
#B7C96A
accent
#E93EC9
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3F24B3

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

Preview Lab → · Contrast checker → · Palette generator →

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