#3F208D#3F208D

#3F208D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.166 H 288.0°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#3F208D
RGBrgb(63, 32, 141)
HSLhsl(257, 63%, 34%)
HSVhsv(257, 77%, 55%)
CMYKcmyk(55.3%, 77.3%, 0%, 44.7%)
CIE-LABlab(23.71, 42.06, -54.94)
CIE-LCHlch(23.71, 69.19, 307.44°)
OKLaboklab(36.12% 0.0514 -0.158)
OKLCHoklch(36.12% 0.166 288)
XYZxyz(7.3727, 4.0125, 25.5801)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F208D #6E8D20
analogous
#20388D #3F208D #76208D
triadic
#3F208D #8D3F20 #208D3F
tetradic
#3F208D #8D2038 #6E8D20 #208D76
square
#3F208D #8D2038 #6E8D20 #208D76
split-complementary
#3F208D #8D7620 #388D20
monochromatic
#120929 #29155B #3F208D #552BBF #7750D7

Accessibility & contrast

On white

11.65
#3F208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3F208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F208D
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F208D#FFFFFF#000000##FFFFFF
##3F208D1.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#1F3E55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f208d;
/* rgb */ color: rgb(63, 32, 141);
/* oklch */ color: oklch(36.1% 0.166 288.0);
Tailwind
colors: {
  custom: {
    50: '#7d5faf',
    500: '#3f208d',
    950: '#000000',
  },
}
SCSS
$custom: #3f208d;
$custom-light: #7d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f208d",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 257.064,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36119,
    "c": 0.16616,
    "h": 288
  },
  "luminance": 0.04013
}

Semantic roles & 50–950 ramp

primary
#3F208D
secondary
#9CBA4E
accent
#E642B7
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3F208D

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

Preview Lab → · Contrast checker → · Palette generator →

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