#3F19B4#3F19B4

#3F19B4 is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.5% C 0.216 H 281.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#3F19B4
RGBrgb(63, 25, 180)
HSLhsl(255, 76%, 40%)
HSVhsv(255, 86%, 71%)
CMYKcmyk(65%, 86.1%, 0%, 29.4%)
CIE-LABlab(26.87, 56.15, -73.49)
CIE-LCHlch(26.87, 92.49, 307.38°)
OKLaboklab(39.54% 0.0423 -0.212)
OKLCHoklch(39.54% 0.216 281.3)
XYZxyz(10.6332, 5.0465, 43.5849)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F19B4 #8EB419
analogous
#1940B4 #3F19B4 #8D19B4
triadic
#3F19B4 #B43F19 #19B43F
tetradic
#3F19B4 #B41940 #8EB419 #19B48D
square
#3F19B4 #B41940 #8EB419 #19B48D
split-complementary
#3F19B4 #B48D19 #40B419
monochromatic
#190A49 #2C127E #3F19B4 #5629E1 #815FE9

Accessibility & contrast

On white

10.45
#3F19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3F19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F19B4
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F19B4#FFFFFF#000000##FFFFFF
##3F19B41.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f19b4;
/* rgb */ color: rgb(63, 25, 180);
/* oklch */ color: oklch(39.5% 0.216 281.3);
Tailwind
colors: {
  custom: {
    50: '#855fcc',
    500: '#3f19b4',
    950: '#000000',
  },
}
SCSS
$custom: #3f19b4;
$custom-light: #855fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f19b4",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 254.71,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.2162,
    "h": 281.3
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#3F19B4
secondary
#B1CD5C
accent
#F236C4
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0D0514
muted
#7D7982

Preview Lab

Preview with #3F19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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