#3916B4#3916B4

#3916B4 is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.8% C 0.219 H 278.9°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#3916B4
RGBrgb(57, 22, 180)
HSLhsl(253, 78%, 40%)
HSVhsv(253, 88%, 71%)
CMYKcmyk(68.3%, 87.8%, 0%, 29.4%)
CIE-LABlab(25.98, 56.75, -74.98)
CIE-LCHlch(25.98, 94.04, 307.12°)
OKLaboklab(38.8% 0.034 -0.2164)
OKLCHoklch(38.8% 0.219 278.9)
XYZxyz(10.2098, 4.7381, 43.5477)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3916B4 #91B416
analogous
#1642B4 #3916B4 #8816B4
triadic
#3916B4 #B43916 #16B439
tetradic
#3916B4 #B41642 #91B416 #16B488
square
#3916B4 #B41642 #91B416 #16B488
split-complementary
#3916B4 #B48816 #42B416
monochromatic
#160947 #280F7D #3916B4 #4E23E4 #7A5AEB

Accessibility & contrast

On white

10.78
#3916B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3916B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3916B4
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3916B4#FFFFFF#000000##FFFFFF
##3916B41.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0037B1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3916b4;
/* rgb */ color: rgb(57, 22, 180);
/* oklch */ color: oklch(38.8% 0.219 278.9);
Tailwind
colors: {
  custom: {
    50: '#835dcc',
    500: '#3916b4',
    950: '#000000',
  },
}
SCSS
$custom: #3916b4;
$custom-light: #835dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3916b4",
  "rgb": {
    "r": 57,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 253.291,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.21911,
    "h": 278.9
  },
  "luminance": 0.04739
}

Semantic roles & 50–950 ramp

primary
#3916B4
secondary
#B4CE58
accent
#F533CA
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3916B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3916B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva