#3F199E#3F199E

#3F199E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.1% C 0.192 H 285.2°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#3F199E
RGBrgb(63, 25, 158)
HSLhsl(257, 73%, 36%)
HSVhsv(257, 84%, 62%)
CMYKcmyk(60.1%, 84.2%, 0%, 38%)
CIE-LABlab(24.39, 50.11, -64.31)
CIE-LCHlch(24.39, 81.52, 307.92°)
OKLaboklab(37.12% 0.0504 -0.1853)
OKLCHoklch(37.12% 0.192 285.2)
XYZxyz(8.5672, 4.2201, 32.7042)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F199E #789E19
analogous
#19359E #3F199E #81199E
triadic
#3F199E #9E3F19 #199E3F
tetradic
#3F199E #9E1935 #789E19 #199E81
square
#3F199E #9E1935 #789E19 #199E81
split-complementary
#3F199E #9E8119 #359E19
monochromatic
#150834 #2A1169 #3F199E #5421D3 #794EE3

Accessibility & contrast

On white

11.39
#3F199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3F199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F199E
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F199E#FFFFFF#000000##FFFFFF
##3F199E1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#02435E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f199e;
/* rgb */ color: rgb(63, 25, 158);
/* oklch */ color: oklch(37.1% 0.192 285.2);
Tailwind
colors: {
  custom: {
    50: '#815dbc',
    500: '#3f199e',
    950: '#000000',
  },
}
SCSS
$custom: #3f199e;
$custom-light: #815dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f199e",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 257.143,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37116,
    "c": 0.19205,
    "h": 285.2
  },
  "luminance": 0.04221
}

Semantic roles & 50–950 ramp

primary
#3F199E
secondary
#A3C54E
accent
#EF38BB
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3F199E

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

Preview Lab → · Contrast checker → · Palette generator →

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