#3F219B#3F219B

#3F219B is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.182 H 284.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#3F219B
RGBrgb(63, 33, 155)
HSLhsl(255, 65%, 37%)
HSVhsv(255, 79%, 61%)
CMYKcmyk(59.4%, 78.7%, 0%, 39.2%)
CIE-LABlab(25.29, 45.69, -60.98)
CIE-LCHlch(25.29, 76.19, 306.84°)
OKLaboklab(37.65% 0.0466 -0.1757)
OKLCHoklch(37.65% 0.182 284.8)
XYZxyz(8.5083, 4.5105, 31.4263)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F219B #7D9B21
analogous
#21409B #3F219B #7C219B
triadic
#3F219B #9B3F21 #219B3F
tetradic
#3F219B #9B2140 #7D9B21 #219B7C
square
#3F219B #9B2140 #7D9B21 #219B7C
split-complementary
#3F219B #9B7C21 #409B21
monochromatic
#160C36 #2A1669 #3F219B #542CCD #7A5ADC

Accessibility & contrast

On white

11.04
#3F219B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F219B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F219B#FFFFFF#000000##FFFFFF
##3F219B1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003899
Tritanopia (blue-blind)
#09445D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f219b;
/* rgb */ color: rgb(63, 33, 155);
/* oklch */ color: oklch(37.6% 0.182 284.8);
Tailwind
colors: {
  custom: {
    50: '#8061ba',
    500: '#3f219b',
    950: '#000000',
  },
}
SCSS
$custom: #3f219b;
$custom-light: #8061ba;
$custom-dark: #000000;
JSON
{
  "hex": "#3f219b",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 254.754,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.18177,
    "h": 284.8
  },
  "luminance": 0.04511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F219B

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

Preview Lab → · Contrast checker → · Palette generator →

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