#3F20C3#3F20C3

#3F20C3 is a dark, highly saturated violet. Relative luminance 0.060; OKLCH L 41.8% C 0.228 H 278.7°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#3F20C3
RGBrgb(63, 32, 195)
HSLhsl(251, 72%, 45%)
HSVhsv(251, 84%, 76%)
CMYKcmyk(67.7%, 83.6%, 0%, 23.5%)
CIE-LABlab(29.48, 57.63, -78.04)
CIE-LCHlch(29.48, 97.01, 306.44°)
OKLaboklab(41.83% 0.0344 -0.2253)
OKLCHoklch(41.83% 0.228 278.7)
XYZxyz(12.4136, 6.0288, 52.1287)
Luminance0.0603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F20C3 #A4C320
analogous
#2053C3 #3F20C3 #9120C3
triadic
#3F20C3 #C33F20 #20C33F
tetradic
#3F20C3 #C32053 #A4C320 #20C391
square
#3F20C3 #C32053 #A4C320 #20C391
split-complementary
#3F20C3 #C39120 #53C320
monochromatic
#1D0F5A #2E178E #3F20C3 #5F40E0 #8B75E8

Accessibility & contrast

On white

9.52
#3F20C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3F20C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F20C3
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F20C3#FFFFFF#000000##FFFFFF
##3F20C31.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC7
Deuteranopia (green-blind)
#003FC0
Tritanopia (blue-blind)
#005574
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f20c3;
/* rgb */ color: rgb(63, 32, 195);
/* oklch */ color: oklch(41.8% 0.228 278.7);
Tailwind
colors: {
  custom: {
    50: '#8763d7',
    500: '#3f20c3',
    950: '#000000',
  },
}
SCSS
$custom: #3f20c3;
$custom-light: #8763d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f20c3",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 251.411,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41828,
    "c": 0.22797,
    "h": 278.7
  },
  "luminance": 0.0603
}

Semantic roles & 50–950 ramp

primary
#3F20C3
secondary
#BDCF6F
accent
#EF39CC
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3F20C3

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

Preview Lab → · Contrast checker → · Palette generator →

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