#3F196A#3F196A

#3F196A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.132 H 300.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#3F196A
RGBrgb(63, 25, 106)
HSLhsl(268, 62%, 26%)
HSVhsv(268, 76%, 42%)
CMYKcmyk(40.6%, 76.4%, 0%, 58.4%)
CIE-LABlab(19.19, 35.63, -40.05)
CIE-LCHlch(19.19, 53.60, 311.66°)
OKLaboklab(31.93% 0.0669 -0.1143)
OKLCHoklch(31.93% 0.132 300.3)
XYZxyz(4.9984, 2.7926, 13.9086)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F196A #446A19
analogous
#191B6A #3F196A #67196A
triadic
#3F196A #6A3F19 #196A3F
tetradic
#3F196A #6A191B #446A19 #196A67
square
#3F196A #6A191B #446A19 #196A67
split-complementary
#3F196A #6A6719 #1B6A19
monochromatic
#0F0619 #220D38 #3F196A #5C259C #7A30CD

Accessibility & contrast

On white

13.47
#3F196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#3F196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F196A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F196A#FFFFFF#000000##FFFFFF
##3F196A1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6C
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#352D40
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f196a;
/* rgb */ color: rgb(63, 25, 106);
/* oklch */ color: oklch(31.9% 0.132 300.3);
Tailwind
colors: {
  custom: {
    50: '#795a95',
    500: '#3f196a',
    950: '#000000',
  },
}
SCSS
$custom: #3f196a;
$custom-light: #795a95;
$custom-dark: #000000;
JSON
{
  "hex": "#3f196a",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 268.148,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31931,
    "c": 0.13241,
    "h": 300.3
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#3F196A
secondary
#72A03F
accent
#E54399
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F196A

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

Preview Lab → · Contrast checker → · Palette generator →

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