#3F196F#3F196F

#3F196F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.138 H 298.3°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#3F196F
RGBrgb(63, 25, 111)
HSLhsl(267, 63%, 27%)
HSVhsv(267, 77%, 44%)
CMYKcmyk(43.2%, 77.5%, 0%, 56.5%)
CIE-LABlab(19.64, 37.00, -42.58)
CIE-LCHlch(19.64, 56.41, 311.00°)
OKLaboklab(32.38% 0.0657 -0.1217)
OKLCHoklch(32.38% 0.138 298.3)
XYZxyz(5.2660, 2.8996, 15.3181)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F196F #496F19
analogous
#191E6F #3F196F #6A196F
triadic
#3F196F #6F3F19 #196F3F
tetradic
#3F196F #6F191E #496F19 #196F6A
square
#3F196F #6F191E #496F19 #196F6A
split-complementary
#3F196F #6F6A19 #1E6F19
monochromatic
#0E0619 #230E3D #3F196F #5B24A1 #7832D1

Accessibility & contrast

On white

13.29
#3F196F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3F196F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F196F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F196F#FFFFFF#000000##FFFFFF
##3F196F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#332F42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f196f;
/* rgb */ color: rgb(63, 25, 111);
/* oklch */ color: oklch(32.4% 0.138 298.3);
Tailwind
colors: {
  custom: {
    50: '#795a99',
    500: '#3f196f',
    950: '#000000',
  },
}
SCSS
$custom: #3f196f;
$custom-light: #795a99;
$custom-dark: #000000;
JSON
{
  "hex": "#3f196f",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 111
  },
  "hsl": {
    "h": 266.512,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32383,
    "c": 0.13831,
    "h": 298.3
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#3F196F
secondary
#78A43F
accent
#E6429D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F196F

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

Preview Lab → · Contrast checker → · Palette generator →

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