#4019B4#4019B4

#4019B4 is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.6% C 0.216 H 281.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#4019B4
RGBrgb(64, 25, 180)
HSLhsl(255, 76%, 40%)
HSVhsv(255, 86%, 71%)
CMYKcmyk(64.4%, 86.1%, 0%, 29.4%)
CIE-LABlab(26.96, 56.23, -73.33)
CIE-LCHlch(26.96, 92.41, 307.48°)
OKLaboklab(39.63% 0.0438 -0.2115)
OKLCHoklch(39.63% 0.216 281.7)
XYZxyz(10.6976, 5.0797, 43.5879)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4019B4 #8DB419
analogous
#193FB4 #4019B4 #8E19B4
triadic
#4019B4 #B44019 #19B440
tetradic
#4019B4 #B4193F #8DB419 #19B48E
square
#4019B4 #B4193F #8DB419 #19B48E
split-complementary
#4019B4 #B48E19 #3FB419
monochromatic
#1A0A49 #2D127E #4019B4 #5729E1 #815FE9

Accessibility & contrast

On white

10.42
#4019B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4019B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4019B4
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4019B4#FFFFFF#000000##FFFFFF
##4019B41.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003AB1
Tritanopia (blue-blind)
#004C6B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4019b4;
/* rgb */ color: rgb(64, 25, 180);
/* oklch */ color: oklch(39.6% 0.216 281.7);
Tailwind
colors: {
  custom: {
    50: '#855fcc',
    500: '#4019b4',
    950: '#000000',
  },
}
SCSS
$custom: #4019b4;
$custom-light: #855fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4019b4",
  "rgb": {
    "r": 64,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 255.097,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39626,
    "c": 0.21603,
    "h": 281.7
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#4019B4
secondary
#B0CD5C
accent
#F236C3
background
#F8F5FC
surface
#F0EAF9
border
#CBC6D2
text
#0D0514
muted
#7D7982

Preview Lab

Preview with #4019B4

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

Preview Lab → · Contrast checker → · Palette generator →

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