#3F24AA#3F24AA

#3F24AA is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.197 H 281.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3F24AA
RGBrgb(63, 36, 170)
HSLhsl(252, 65%, 40%)
HSVhsv(252, 79%, 67%)
CMYKcmyk(62.9%, 78.8%, 0%, 33.3%)
CIE-LABlab(27.35, 48.66, -66.69)
CIE-LCHlch(27.35, 82.55, 306.12°)
OKLaboklab(39.55% 0.0403 -0.1924)
OKLCHoklch(39.55% 0.197 281.8)
XYZxyz(9.9342, 5.2201, 38.5065)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F24AA #8FAA24
analogous
#244CAA #3F24AA #8224AA
triadic
#3F24AA #AA3F24 #24AA3F
tetradic
#3F24AA #AA244C #8FAA24 #24AA82
square
#3F24AA #AA244C #8FAA24 #24AA82
split-complementary
#3F24AA #AA8224 #4CAA24
monochromatic
#1A0F45 #2C1977 #3F24AA #5637D5 #8169DF

Accessibility & contrast

On white

10.27
#3F24AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3F24AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F24AA
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F24AA#FFFFFF#000000##FFFFFF
##3F24AA1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#004C67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3f24aa;
/* rgb */ color: rgb(63, 36, 170);
/* oklch */ color: oklch(39.6% 0.197 281.8);
Tailwind
colors: {
  custom: {
    50: '#8263c5',
    500: '#3f24aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f24aa;
$custom-light: #8263c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f24aa",
  "rgb": {
    "r": 63,
    "g": 36,
    "b": 170
  },
  "hsl": {
    "h": 252.09,
    "s": 65.049,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3955,
    "c": 0.19656,
    "h": 281.8
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#3F24AA
secondary
#B2C565
accent
#E840C6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F24AA

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

Preview Lab → · Contrast checker → · Palette generator →

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