#3F20BB#3F20BB

#3F20BB is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.219 H 279.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#3F20BB
RGBrgb(63, 32, 187)
HSLhsl(252, 71%, 43%)
HSVhsv(252, 83%, 73%)
CMYKcmyk(66.3%, 82.9%, 0%, 26.7%)
CIE-LABlab(28.58, 55.37, -74.81)
CIE-LCHlch(28.58, 93.08, 306.51°)
OKLaboklab(40.95% 0.037 -0.216)
OKLCHoklch(40.95% 0.219 279.7)
XYZxyz(11.5332, 5.6767, 47.4920)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F20BB #9CBB20
analogous
#204EBB #3F20BB #8C20BB
triadic
#3F20BB #BB3F20 #20BB3F
tetradic
#3F20BB #BB204E #9CBB20 #20BB8C
square
#3F20BB #BB204E #9CBB20 #20BB8C
split-complementary
#3F20BB #BB8C20 #4EBB20
monochromatic
#1C0E52 #2D1787 #3F20BB #5B3BDD #876FE6

Accessibility & contrast

On white

9.83
#3F20BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3F20BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F20BB
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F20BB#FFFFFF#000000##FFFFFF
##3F20BB1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003DB8
Tritanopia (blue-blind)
#005170
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3f20bb;
/* rgb */ color: rgb(63, 32, 187);
/* oklch */ color: oklch(40.9% 0.219 279.7);
Tailwind
colors: {
  custom: {
    50: '#8662d1',
    500: '#3f20bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f20bb;
$custom-light: #8662d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f20bb",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 252,
    "s": 70.776,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.21913,
    "h": 279.7
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#3F20BB
secondary
#B9CD6A
accent
#EE3ACA
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0514
muted
#7E7A83

Preview Lab

Preview with #3F20BB

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

Preview Lab → · Contrast checker → · Palette generator →

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