#3F196B#3F196B

#3F196B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.134 H 299.9°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#3F196B
RGBrgb(63, 25, 107)
HSLhsl(268, 62%, 26%)
HSVhsv(268, 77%, 42%)
CMYKcmyk(41.1%, 76.6%, 0%, 58%)
CIE-LABlab(19.28, 35.91, -40.56)
CIE-LCHlch(19.28, 54.17, 311.52°)
OKLaboklab(32.02% 0.0666 -0.1158)
OKLCHoklch(32.02% 0.134 299.9)
XYZxyz(5.0507, 2.8135, 14.1840)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F196B #456B19
analogous
#191C6B #3F196B #68196B
triadic
#3F196B #6B3F19 #196B3F
tetradic
#3F196B #6B191C #456B19 #196B68
square
#3F196B #6B191C #456B19 #196B68
split-complementary
#3F196B #6B6819 #1C6B19
monochromatic
#0F0619 #220D39 #3F196B #5C259D #7930CE

Accessibility & contrast

On white

13.44
#3F196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F196B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F196B#FFFFFF#000000##FFFFFF
##3F196B1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6D
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#352E40
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f196b;
/* rgb */ color: rgb(63, 25, 107);
/* oklch */ color: oklch(32.0% 0.134 299.9);
Tailwind
colors: {
  custom: {
    50: '#795a96',
    500: '#3f196b',
    950: '#000000',
  },
}
SCSS
$custom: #3f196b;
$custom-light: #795a96;
$custom-dark: #000000;
JSON
{
  "hex": "#3f196b",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 267.805,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3202,
    "c": 0.13359,
    "h": 299.9
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#3F196B
secondary
#73A13F
accent
#E5439A
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F196B

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

Preview Lab → · Contrast checker → · Palette generator →

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