#3F20AF#3F20AF

#3F20AF is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.6% C 0.206 H 281.5°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#3F20AF
RGBrgb(63, 32, 175)
HSLhsl(253, 69%, 41%)
HSVhsv(253, 82%, 69%)
CMYKcmyk(64%, 81.7%, 0%, 31.4%)
CIE-LABlab(27.25, 51.96, -69.86)
CIE-LCHlch(27.25, 87.06, 306.64°)
OKLaboklab(39.64% 0.0409 -0.2016)
OKLCHoklch(39.64% 0.206 281.5)
XYZxyz(10.3018, 5.1842, 41.0069)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F20AF #90AF20
analogous
#2048AF #3F20AF #8620AF
triadic
#3F20AF #AF3F20 #20AF3F
tetradic
#3F20AF #AF2048 #90AF20 #20AF86
square
#3F20AF #AF2048 #90AF20 #20AF86
split-complementary
#3F20AF #AF8620 #48AF20
monochromatic
#1A0D48 #2C177B #3F20AF #5733DA #8166E3

Accessibility & contrast

On white

10.31
#3F20AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F20AF
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F20AF#FFFFFF#000000##FFFFFF
##3F20AF1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f20af;
/* rgb */ color: rgb(63, 32, 175);
/* oklch */ color: oklch(39.6% 0.206 281.5);
Tailwind
colors: {
  custom: {
    50: '#8461c8',
    500: '#3f20af',
    950: '#000000',
  },
}
SCSS
$custom: #3f20af;
$custom-light: #8461c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f20af",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 253.007,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.3964,
    "c": 0.20568,
    "h": 281.5
  },
  "luminance": 0.05185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F20AF

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

Preview Lab → · Contrast checker → · Palette generator →

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