#3F219C#3F219C

#3F219C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.183 H 284.7°. Best body text is #FFFFFF at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#3F219C
RGBrgb(63, 33, 156)
HSLhsl(255, 65%, 37%)
HSVhsv(255, 79%, 61%)
CMYKcmyk(59.6%, 78.8%, 0%, 38.8%)
CIE-LABlab(25.39, 45.98, -61.42)
CIE-LCHlch(25.39, 76.73, 306.82°)
OKLaboklab(37.75% 0.0463 -0.177)
OKLCHoklch(37.75% 0.183 284.7)
XYZxyz(8.5927, 4.5442, 31.8704)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F219C #7E9C21
analogous
#21419C #3F219C #7D219C
triadic
#3F219C #9C3F21 #219C3F
tetradic
#3F219C #9C2141 #7E9C21 #219C7D
square
#3F219C #9C2141 #7E9C21 #219C7D
split-complementary
#3F219C #9C7D21 #419C21
monochromatic
#160C37 #2B1669 #3F219C #532CCF #7B5BDC

Accessibility & contrast

On white

11.00
#3F219C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#3F219C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F219C
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F219C#FFFFFF#000000##FFFFFF
##3F219C1.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#06455E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f219c;
/* rgb */ color: rgb(63, 33, 156);
/* oklch */ color: oklch(37.8% 0.183 284.7);
Tailwind
colors: {
  custom: {
    50: '#8061ba',
    500: '#3f219c',
    950: '#000000',
  },
}
SCSS
$custom: #3f219c;
$custom-light: #8061ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f219c",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 254.634,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.18294,
    "h": 284.7
  },
  "luminance": 0.04545
}

Semantic roles & 50–950 ramp

primary
#3F219C
secondary
#A7C158
accent
#E840BF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3F219C

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

Preview Lab → · Contrast checker → · Palette generator →

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