#3F20AE#3F20AE

#3F20AE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.5% C 0.205 H 281.6°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#3F20AE
RGBrgb(63, 32, 174)
HSLhsl(253, 69%, 40%)
HSVhsv(253, 82%, 68%)
CMYKcmyk(63.8%, 81.6%, 0%, 31.8%)
CIE-LABlab(27.14, 51.67, -69.44)
CIE-LCHlch(27.14, 86.55, 306.65°)
OKLaboklab(39.53% 0.0413 -0.2003)
OKLCHoklch(39.53% 0.205 281.6)
XYZxyz(10.2040, 5.1450, 40.4916)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F20AE #8FAE20
analogous
#2048AE #3F20AE #8620AE
triadic
#3F20AE #AE3F20 #20AE3F
tetradic
#3F20AE #AE2048 #8FAE20 #20AE86
square
#3F20AE #AE2048 #8FAE20 #20AE86
split-complementary
#3F20AE #AE8620 #48AE20
monochromatic
#1A0D47 #2C167A #3F20AE #5632D9 #8166E3

Accessibility & contrast

On white

10.35
#3F20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3F20AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F20AE
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F20AE#FFFFFF#000000##FFFFFF
##3F20AE1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f20ae;
/* rgb */ color: rgb(63, 32, 174);
/* oklch */ color: oklch(39.5% 0.205 281.6);
Tailwind
colors: {
  custom: {
    50: '#8361c8',
    500: '#3f20ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f20ae;
$custom-light: #8361c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f20ae",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 253.099,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39532,
    "c": 0.20455,
    "h": 281.6
  },
  "luminance": 0.05146
}

Semantic roles & 50–950 ramp

primary
#3F20AE
secondary
#B2C862
accent
#EC3CC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3F20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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