#3F219A#3F219A

#3F219A is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.181 H 285.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#3F219A
RGBrgb(63, 33, 154)
HSLhsl(255, 65%, 37%)
HSVhsv(255, 79%, 60%)
CMYKcmyk(59.1%, 78.6%, 0%, 39.6%)
CIE-LABlab(25.19, 45.39, -60.53)
CIE-LCHlch(25.19, 75.66, 306.86°)
OKLaboklab(37.55% 0.0469 -0.1744)
OKLCHoklch(37.55% 0.181 285)
XYZxyz(8.4247, 4.4771, 30.9858)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F219A #7C9A21
analogous
#21409A #3F219A #7C219A
triadic
#3F219A #9A3F21 #219A3F
tetradic
#3F219A #9A2140 #7C9A21 #219A7C
square
#3F219A #9A2140 #7C9A21 #219A7C
split-complementary
#3F219A #9A7C21 #409A21
monochromatic
#160B35 #2A1668 #3F219A #542CCC #7A5ADC

Accessibility & contrast

On white

11.08
#3F219A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F219A
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F219A#FFFFFF#000000##FFFFFF
##3F219A1.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f219a;
/* rgb */ color: rgb(63, 33, 154);
/* oklch */ color: oklch(37.5% 0.181 285.0);
Tailwind
colors: {
  custom: {
    50: '#7f61b9',
    500: '#3f219a',
    950: '#000000',
  },
}
SCSS
$custom: #3f219a;
$custom-light: #7f61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f219a",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 154
  },
  "hsl": {
    "h": 254.876,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37546,
    "c": 0.18059,
    "h": 285
  },
  "luminance": 0.04478
}

Semantic roles & 50–950 ramp

primary
#3F219A
secondary
#A6C057
accent
#E840BE
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3F219A

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

Preview Lab → · Contrast checker → · Palette generator →

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