#3F24A3#3F24A3

#3F24A3 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.188 H 283.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3F24A3
RGBrgb(63, 36, 163)
HSLhsl(253, 64%, 39%)
HSVhsv(253, 78%, 64%)
CMYKcmyk(61.3%, 77.9%, 0%, 36.1%)
CIE-LABlab(26.63, 46.58, -63.65)
CIE-LCHlch(26.63, 78.88, 306.19°)
OKLaboklab(38.83% 0.0423 -0.1835)
OKLCHoklch(38.83% 0.188 283)
XYZxyz(9.2896, 4.9622, 35.1115)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24A3 #88A324
analogous
#2449A3 #3F24A3 #7F24A3
triadic
#3F24A3 #A33F24 #24A33F
tetradic
#3F24A3 #A32449 #88A324 #24A37F
square
#3F24A3 #A32449 #88A324 #24A37F
split-complementary
#3F24A3 #A37F24 #49A324
monochromatic
#180E3F #2C1971 #3F24A3 #5432D2 #7E65DD

Accessibility & contrast

On white

10.54
#3F24A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3F24A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24A3
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24A3#FFFFFF#000000##FFFFFF
##3F24A31.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f24a3;
/* rgb */ color: rgb(63, 36, 163);
/* oklch */ color: oklch(38.8% 0.188 283.0);
Tailwind
colors: {
  custom: {
    50: '#8163bf',
    500: '#3f24a3',
    950: '#000000',
  },
}
SCSS
$custom: #3f24a3;
$custom-light: #8163bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24a3",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 163
  },
  "hsl": {
    "h": 252.756,
    "s": 63.819,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38827,
    "c": 0.18835,
    "h": 283
  },
  "luminance": 0.04963
}

Semantic roles & 50–950 ramp

primary
#3F24A3
secondary
#AEC260
accent
#E741C4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3F24A3

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

Preview Lab → · Contrast checker → · Palette generator →

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