#3F208C#3F208C

#3F208C is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.165 H 288.2°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#3F208C
RGBrgb(63, 32, 140)
HSLhsl(257, 63%, 34%)
HSVhsv(257, 77%, 55%)
CMYKcmyk(55%, 77.1%, 0%, 45.1%)
CIE-LABlab(23.61, 41.77, -54.48)
CIE-LCHlch(23.61, 68.65, 307.48°)
OKLaboklab(36.02% 0.0516 -0.1567)
OKLCHoklch(36.02% 0.165 288.2)
XYZxyz(7.2986, 3.9829, 25.1900)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F208C #6D8C20
analogous
#20378C #3F208C #75208C
triadic
#3F208C #8C3F20 #208C3F
tetradic
#3F208C #8C2037 #6D8C20 #208C75
square
#3F208C #8C2037 #6D8C20 #208C75
split-complementary
#3F208C #8C7520 #378C20
monochromatic
#120928 #29155A #3F208C #552BBE #7650D7

Accessibility & contrast

On white

11.69
#3F208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F208C
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F208C#FFFFFF#000000##FFFFFF
##3F208C1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#203E55
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f208c;
/* rgb */ color: rgb(63, 32, 140);
/* oklch */ color: oklch(36.0% 0.165 288.2);
Tailwind
colors: {
  custom: {
    50: '#7d5faf',
    500: '#3f208c',
    950: '#000000',
  },
}
SCSS
$custom: #3f208c;
$custom-light: #7d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f208c",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 257.222,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3602,
    "c": 0.16496,
    "h": 288.2
  },
  "luminance": 0.03983
}

Semantic roles & 50–950 ramp

primary
#3F208C
secondary
#9BBA4E
accent
#E642B7
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #3F208C

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

Preview Lab → · Contrast checker → · Palette generator →

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