#3F196C#3F196C

#3F196C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.135 H 299.5°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#3F196C
RGBrgb(63, 25, 108)
HSLhsl(267, 62%, 26%)
HSVhsv(267, 77%, 42%)
CMYKcmyk(41.7%, 76.9%, 0%, 57.6%)
CIE-LABlab(19.37, 36.18, -41.06)
CIE-LCHlch(19.37, 54.73, 311.38°)
OKLaboklab(32.11% 0.0664 -0.1173)
OKLCHoklch(32.11% 0.135 299.5)
XYZxyz(5.1036, 2.8347, 14.4627)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F196C #466C19
analogous
#191C6C #3F196C #68196C
triadic
#3F196C #6C3F19 #196C3F
tetradic
#3F196C #6C191C #466C19 #196C68
square
#3F196C #6C191C #466C19 #196C68
split-complementary
#3F196C #6C6819 #1C6C19
monochromatic
#0E0619 #220D3A #3F196C #5C259E #7930CF

Accessibility & contrast

On white

13.40
#3F196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F196C
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F196C#FFFFFF#000000##FFFFFF
##3F196C1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f196c;
/* rgb */ color: rgb(63, 25, 108);
/* oklch */ color: oklch(32.1% 0.135 299.5);
Tailwind
colors: {
  custom: {
    50: '#795a97',
    500: '#3f196c',
    950: '#000000',
  },
}
SCSS
$custom: #3f196c;
$custom-light: #795a97;
$custom-dark: #000000;
JSON
{
  "hex": "#3f196c",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 267.47,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.13477,
    "h": 299.5
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#3F196C
secondary
#75A13F
accent
#E5429B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F196C

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

Preview Lab → · Contrast checker → · Palette generator →

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