#3F24B2#3F24B2

#3F24B2 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.206 H 280.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#3F24B2
RGBrgb(63, 36, 178)
HSLhsl(251, 66%, 42%)
HSVhsv(251, 80%, 70%)
CMYKcmyk(64.6%, 79.8%, 0%, 30.2%)
CIE-LABlab(28.20, 51.02, -70.09)
CIE-LCHlch(28.20, 86.69, 306.05°)
OKLaboklab(40.39% 0.0379 -0.2023)
OKLCHoklch(40.39% 0.206 280.6)
XYZxyz(10.7141, 5.5320, 42.6140)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24B2 #97B224
analogous
#2450B2 #3F24B2 #8624B2
triadic
#3F24B2 #B23F24 #24B23F
tetradic
#3F24B2 #B22450 #97B224 #24B286
square
#3F24B2 #B22450 #97B224 #24B286
split-complementary
#3F24B2 #B28624 #50B224
monochromatic
#1B0F4C #2D1A7F #3F24B2 #593CD8 #856FE2

Accessibility & contrast

On white

9.97
#3F24B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F24B2
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24B2#FFFFFF#000000##FFFFFF
##3F24B21.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f24b2;
/* rgb */ color: rgb(63, 36, 178);
/* oklch */ color: oklch(40.4% 0.206 280.6);
Tailwind
colors: {
  custom: {
    50: '#8464ca',
    500: '#3f24b2',
    950: '#000000',
  },
}
SCSS
$custom: #3f24b2;
$custom-light: #8464ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24b2",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 178
  },
  "hsl": {
    "h": 251.408,
    "s": 66.355,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40391,
    "c": 0.20583,
    "h": 280.6
  },
  "luminance": 0.05533
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F24B2

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

Preview Lab → · Contrast checker → · Palette generator →

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