#3F196E#3F196E

#3F196E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.137 H 298.7°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#3F196E
RGBrgb(63, 25, 110)
HSLhsl(267, 63%, 26%)
HSVhsv(267, 77%, 43%)
CMYKcmyk(42.7%, 77.3%, 0%, 56.9%)
CIE-LABlab(19.55, 36.73, -42.07)
CIE-LCHlch(19.55, 55.85, 311.12°)
OKLaboklab(32.29% 0.0659 -0.1202)
OKLCHoklch(32.29% 0.137 298.7)
XYZxyz(5.2113, 2.8777, 15.0297)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F196E #486E19
analogous
#191D6E #3F196E #6A196E
triadic
#3F196E #6E3F19 #196E3F
tetradic
#3F196E #6E191D #486E19 #196E6A
square
#3F196E #6E191D #486E19 #196E6A
split-complementary
#3F196E #6E6A19 #1D6E19
monochromatic
#0E0619 #220E3C #3F196E #5C24A0 #7831D0

Accessibility & contrast

On white

13.33
#3F196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F196E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F196E#FFFFFF#000000##FFFFFF
##3F196E1.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F70
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#342F42
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f196e;
/* rgb */ color: rgb(63, 25, 110);
/* oklch */ color: oklch(32.3% 0.137 298.7);
Tailwind
colors: {
  custom: {
    50: '#795a98',
    500: '#3f196e',
    950: '#000000',
  },
}
SCSS
$custom: #3f196e;
$custom-light: #795a98;
$custom-dark: #000000;
JSON
{
  "hex": "#3f196e",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 266.824,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32291,
    "c": 0.13712,
    "h": 298.7
  },
  "luminance": 0.02878
}

Semantic roles & 50–950 ramp

primary
#3F196E
secondary
#77A33F
accent
#E6429D
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F196E

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

Preview Lab → · Contrast checker → · Palette generator →

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