#3F209A#3F209A

#3F209A is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.182 H 285.2°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3F209A
RGBrgb(63, 32, 154)
HSLhsl(255, 66%, 36%)
HSVhsv(255, 79%, 60%)
CMYKcmyk(59.1%, 79.2%, 0%, 39.6%)
CIE-LABlab(25.02, 45.88, -60.81)
CIE-LCHlch(25.02, 76.18, 307.03°)
OKLaboklab(37.43% 0.0476 -0.1752)
OKLCHoklch(37.43% 0.182 285.2)
XYZxyz(8.3974, 4.4224, 30.9767)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F209A #7B9A20
analogous
#203E9A #3F209A #7C209A
triadic
#3F209A #9A3F20 #209A3F
tetradic
#3F209A #9A203E #7B9A20 #209A7C
square
#3F209A #9A203E #7B9A20 #209A7C
split-complementary
#3F209A #9A7C20 #3E9A20
monochromatic
#160B35 #2A1567 #3F209A #542BCD #7A58DC

Accessibility & contrast

On white

11.14
#3F209A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F209A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F209A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F209A#FFFFFF#000000##FFFFFF
##3F209A1.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#0C445D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f209a;
/* rgb */ color: rgb(63, 32, 154);
/* oklch */ color: oklch(37.4% 0.182 285.2);
Tailwind
colors: {
  custom: {
    50: '#8060b9',
    500: '#3f209a',
    950: '#000000',
  },
}
SCSS
$custom: #3f209a;
$custom-light: #8060b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f209a",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 154
  },
  "hsl": {
    "h": 255.246,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37429,
    "c": 0.18154,
    "h": 285.2
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#3F209A
secondary
#A5C056
accent
#E93FBE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3F209A

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

Preview Lab → · Contrast checker → · Palette generator →

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