#3919B4#3919B4

#3919B4 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.0% C 0.217 H 278.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3919B4
RGBrgb(57, 25, 180)
HSLhsl(252, 76%, 40%)
HSVhsv(252, 86%, 71%)
CMYKcmyk(68.3%, 86.1%, 0%, 29.4%)
CIE-LABlab(26.33, 55.69, -74.39)
CIE-LCHlch(26.33, 92.93, 306.82°)
OKLaboklab(39.04% 0.0331 -0.2148)
OKLCHoklch(39.04% 0.217 278.8)
XYZxyz(10.2705, 4.8595, 43.5679)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3919B4 #94B419
analogous
#1947B4 #3919B4 #8619B4
triadic
#3919B4 #B43919 #19B439
tetradic
#3919B4 #B41947 #94B419 #19B486
square
#3919B4 #B41947 #94B419 #19B486
split-complementary
#3919B4 #B48619 #47B419
monochromatic
#170A49 #28127E #3919B4 #4F29E1 #7B5FE9

Accessibility & contrast

On white

10.65
#3919B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3919B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3919B4
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3919B4#FFFFFF#000000##FFFFFF
##3919B41.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B8
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3919b4;
/* rgb */ color: rgb(57, 25, 180);
/* oklch */ color: oklch(39.0% 0.217 278.8);
Tailwind
colors: {
  custom: {
    50: '#825ecc',
    500: '#3919b4',
    950: '#000000',
  },
}
SCSS
$custom: #3919b4;
$custom-light: #825ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#3919b4",
  "rgb": {
    "r": 57,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 252.387,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39041,
    "c": 0.21732,
    "h": 278.8
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#3919B4
secondary
#B6CD5C
accent
#F236CB
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #3919B4

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

Preview Lab → · Contrast checker → · Palette generator →

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