#3F19A1#3F19A1

#3F19A1 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.4% C 0.195 H 284.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#3F19A1
RGBrgb(63, 25, 161)
HSLhsl(257, 73%, 36%)
HSVhsv(257, 84%, 63%)
CMYKcmyk(60.9%, 84.5%, 0%, 36.9%)
CIE-LABlab(24.72, 50.94, -65.59)
CIE-LCHlch(24.72, 83.05, 307.83°)
OKLaboklab(37.44% 0.0493 -0.189)
OKLCHoklch(37.44% 0.195 284.6)
XYZxyz(8.8286, 4.3247, 34.0808)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F19A1 #7BA119
analogous
#1937A1 #3F19A1 #8319A1
triadic
#3F19A1 #A13F19 #19A13F
tetradic
#3F19A1 #A11937 #7BA119 #19A183
square
#3F19A1 #A11937 #7BA119 #19A183
split-complementary
#3F19A1 #A18319 #37A119
monochromatic
#160937 #2A116C #3F19A1 #5421D6 #7A50E4

Accessibility & contrast

On white

11.26
#3F19A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3F19A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F19A1
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F19A1#FFFFFF#000000##FFFFFF
##3F19A11.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f19a1;
/* rgb */ color: rgb(63, 25, 161);
/* oklch */ color: oklch(37.4% 0.195 284.6);
Tailwind
colors: {
  custom: {
    50: '#815dbe',
    500: '#3f19a1',
    950: '#000000',
  },
}
SCSS
$custom: #3f19a1;
$custom-light: #815dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f19a1",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 161
  },
  "hsl": {
    "h": 256.765,
    "s": 73.118,
    "l": 36.471
  },
  "oklch": {
    "l": 0.37441,
    "c": 0.19537,
    "h": 284.6
  },
  "luminance": 0.04325
}

Semantic roles & 50–950 ramp

primary
#3F19A1
secondary
#A5C64F
accent
#F038BC
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3F19A1

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

Preview Lab → · Contrast checker → · Palette generator →

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