#3919A5#3919A5

#3919A5 is a dark, highly saturated violet. Relative luminance 0.043; OKLCH L 37.3% C 0.201 H 281.0°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3919A5
RGBrgb(57, 25, 165)
HSLhsl(254, 74%, 37%)
HSVhsv(254, 85%, 65%)
CMYKcmyk(65.5%, 84.8%, 0%, 35.3%)
CIE-LABlab(24.58, 51.49, -68.27)
CIE-LCHlch(24.58, 85.51, 307.03°)
OKLaboklab(37.34% 0.0383 -0.197)
OKLCHoklch(37.34% 0.201 281)
XYZxyz(8.8244, 4.2810, 35.9513)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3919A5 #85A519
analogous
#193FA5 #3919A5 #7F19A5
triadic
#3919A5 #A53919 #19A539
tetradic
#3919A5 #A5193F #85A519 #19A57F
square
#3919A5 #A5193F #85A519 #19A57F
split-complementary
#3919A5 #A57F19 #3FA519
monochromatic
#14093B #271170 #3919A5 #4B21DA #7553E5

Accessibility & contrast

On white

11.31
#3919A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3919A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3919A5
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3919A5#FFFFFF#000000##FFFFFF
##3919A51.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA9
Deuteranopia (green-blind)
#0035A3
Tritanopia (blue-blind)
#004662
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3919a5;
/* rgb */ color: rgb(57, 25, 165);
/* oklch */ color: oklch(37.3% 0.201 281.0);
Tailwind
colors: {
  custom: {
    50: '#7f5dc1',
    500: '#3919a5',
    950: '#000000',
  },
}
SCSS
$custom: #3919a5;
$custom-light: #7f5dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3919a5",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 165
  },
  "hsl": {
    "h": 253.714,
    "s": 73.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37336,
    "c": 0.2007,
    "h": 281
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#3919A5
secondary
#ADC852
accent
#F037C6
background
#F8F5FC
surface
#F0E9F8
border
#CBC5D1
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3919A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3919A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva