#3F20A9#3F20A9

#3F20A9 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.199 H 282.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#3F20A9
RGBrgb(63, 32, 169)
HSLhsl(254, 68%, 39%)
HSVhsv(254, 81%, 66%)
CMYKcmyk(62.7%, 81.1%, 0%, 33.7%)
CIE-LABlab(26.60, 50.23, -67.32)
CIE-LCHlch(26.60, 84.00, 306.73°)
OKLaboklab(39% 0.0429 -0.1942)
OKLCHoklch(39% 0.199 282.4)
XYZxyz(9.7256, 4.9537, 37.9721)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F20A9 #8AA920
analogous
#2045A9 #3F20A9 #8420A9
triadic
#3F20A9 #A93F20 #20A93F
tetradic
#3F20A9 #A92045 #8AA920 #20A984
square
#3F20A9 #A92045 #8AA920 #20A984
split-complementary
#3F20A9 #A98420 #45A920
monochromatic
#190D42 #2C1676 #3F20A9 #552FD8 #7F62E1

Accessibility & contrast

On white

10.55
#3F20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F20A9
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F20A9#FFFFFF#000000##FFFFFF
##3F20A91.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f20a9;
/* rgb */ color: rgb(63, 32, 169);
/* oklch */ color: oklch(39.0% 0.199 282.4);
Tailwind
colors: {
  custom: {
    50: '#8261c4',
    500: '#3f20a9',
    950: '#000000',
  },
}
SCSS
$custom: #3f20a9;
$custom-light: #8261c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f20a9",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 253.577,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38998,
    "c": 0.19887,
    "h": 282.4
  },
  "luminance": 0.04954
}

Semantic roles & 50–950 ramp

primary
#3F20A9
secondary
#AFC65F
accent
#EB3DC4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3F20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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