#3F196D#3F196D

#3F196D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.136 H 299.1°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#3F196D
RGBrgb(63, 25, 109)
HSLhsl(267, 63%, 26%)
HSVhsv(267, 77%, 43%)
CMYKcmyk(42.2%, 77.1%, 0%, 57.3%)
CIE-LABlab(19.46, 36.45, -41.57)
CIE-LCHlch(19.46, 55.29, 311.25°)
OKLaboklab(32.2% 0.0662 -0.1188)
OKLCHoklch(32.2% 0.136 299.1)
XYZxyz(5.1571, 2.8561, 14.7446)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F196D #476D19
analogous
#191D6D #3F196D #69196D
triadic
#3F196D #6D3F19 #196D3F
tetradic
#3F196D #6D191D #476D19 #196D69
square
#3F196D #6D191D #476D19 #196D69
split-complementary
#3F196D #6D6919 #1D6D19
monochromatic
#0E0619 #220E3B #3F196D #5C249F #7931D0

Accessibility & contrast

On white

13.37
#3F196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3F196D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F196D
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F196D#FFFFFF#000000##FFFFFF
##3F196D1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#342E41
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f196d;
/* rgb */ color: rgb(63, 25, 109);
/* oklch */ color: oklch(32.2% 0.136 299.1);
Tailwind
colors: {
  custom: {
    50: '#795a98',
    500: '#3f196d',
    950: '#000000',
  },
}
SCSS
$custom: #3f196d;
$custom-light: #795a98;
$custom-dark: #000000;
JSON
{
  "hex": "#3f196d",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 267.143,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.322,
    "c": 0.13595,
    "h": 299.1
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#3F196D
secondary
#76A23F
accent
#E6429C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3F196D

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

Preview Lab → · Contrast checker → · Palette generator →

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