#3F24A5#3F24A5

#3F24A5 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.191 H 282.6°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3F24A5
RGBrgb(63, 36, 165)
HSLhsl(253, 64%, 39%)
HSVhsv(253, 78%, 65%)
CMYKcmyk(61.8%, 78.2%, 0%, 35.3%)
CIE-LABlab(26.83, 47.17, -64.53)
CIE-LCHlch(26.83, 79.93, 306.17°)
OKLaboklab(39.03% 0.0417 -0.1861)
OKLCHoklch(39.03% 0.191 282.6)
XYZxyz(9.4702, 5.0345, 36.0627)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24A5 #8AA524
analogous
#244AA5 #3F24A5 #8024A5
triadic
#3F24A5 #A53F24 #24A53F
tetradic
#3F24A5 #A5244A #8AA524 #24A580
square
#3F24A5 #A5244A #8AA524 #24A580
split-complementary
#3F24A5 #A58024 #4AA524
monochromatic
#190E41 #2C1973 #3F24A5 #5534D3 #7F66DE

Accessibility & contrast

On white

10.46
#3F24A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F24A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24A5
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24A5#FFFFFF#000000##FFFFFF
##3F24A51.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#004A64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f24a5;
/* rgb */ color: rgb(63, 36, 165);
/* oklch */ color: oklch(39.0% 0.191 282.6);
Tailwind
colors: {
  custom: {
    50: '#8163c1',
    500: '#3f24a5',
    950: '#000000',
  },
}
SCSS
$custom: #3f24a5;
$custom-light: #8163c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24a5",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 252.558,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39032,
    "c": 0.19071,
    "h": 282.6
  },
  "luminance": 0.05035
}

Semantic roles & 50–950 ramp

primary
#3F24A5
secondary
#AFC362
accent
#E741C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3F24A5

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

Preview Lab → · Contrast checker → · Palette generator →

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