#3F209D#3F209D

#3F209D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.7% C 0.185 H 284.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#3F209D
RGBrgb(63, 32, 157)
HSLhsl(255, 66%, 37%)
HSVhsv(255, 80%, 62%)
CMYKcmyk(59.9%, 79.6%, 0%, 38.4%)
CIE-LABlab(25.33, 46.75, -62.14)
CIE-LCHlch(25.33, 77.76, 306.96°)
OKLaboklab(37.74% 0.0466 -0.1791)
OKLCHoklch(37.74% 0.185 284.6)
XYZxyz(8.6504, 4.5236, 32.3091)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F209D #7E9D20
analogous
#20409D #3F209D #7E209D
triadic
#3F209D #9D3F20 #209D3F
tetradic
#3F209D #9D2040 #7E9D20 #209D7E
square
#3F209D #9D2040 #7E9D20 #209D7E
split-complementary
#3F209D #9D7E20 #409D20
monochromatic
#160B37 #2B166A #3F209D #532AD0 #7B5ADD

Accessibility & contrast

On white

11.02
#3F209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F209D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F209D#FFFFFF#000000##FFFFFF
##3F209D1.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#03455E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f209d;
/* rgb */ color: rgb(63, 32, 157);
/* oklch */ color: oklch(37.7% 0.185 284.6);
Tailwind
colors: {
  custom: {
    50: '#8060bb',
    500: '#3f209d',
    950: '#000000',
  },
}
SCSS
$custom: #3f209d;
$custom-light: #8060bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f209d",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 254.88,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37738,
    "c": 0.18504,
    "h": 284.6
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#3F209D
secondary
#A7C157
accent
#E93FBF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3F209D

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

Preview Lab → · Contrast checker → · Palette generator →

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