#3F24A4#3F24A4

#3F24A4 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.190 H 282.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3F24A4
RGBrgb(63, 36, 164)
HSLhsl(253, 64%, 39%)
HSVhsv(253, 78%, 64%)
CMYKcmyk(61.6%, 78%, 0%, 35.7%)
CIE-LABlab(26.73, 46.88, -64.09)
CIE-LCHlch(26.73, 79.40, 306.18°)
OKLaboklab(38.93% 0.042 -0.1848)
OKLCHoklch(38.93% 0.19 282.8)
XYZxyz(9.3795, 4.9982, 35.5852)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24A4 #89A424
analogous
#2449A4 #3F24A4 #7F24A4
triadic
#3F24A4 #A43F24 #24A43F
tetradic
#3F24A4 #A42449 #89A424 #24A47F
square
#3F24A4 #A42449 #89A424 #24A47F
split-complementary
#3F24A4 #A47F24 #49A424
monochromatic
#180E40 #2C1972 #3F24A4 #5533D2 #7E65DD

Accessibility & contrast

On white

10.50
#3F24A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3F24A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24A4
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24A4#FFFFFF#000000##FFFFFF
##3F24A41.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003BA2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f24a4;
/* rgb */ color: rgb(63, 36, 164);
/* oklch */ color: oklch(38.9% 0.190 282.8);
Tailwind
colors: {
  custom: {
    50: '#8163c0',
    500: '#3f24a4',
    950: '#000000',
  },
}
SCSS
$custom: #3f24a4;
$custom-light: #8163c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24a4",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 164
  },
  "hsl": {
    "h": 252.656,
    "s": 64,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3893,
    "c": 0.18952,
    "h": 282.8
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F24A4

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

Preview Lab → · Contrast checker → · Palette generator →

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