#19042D#19042D

#19042D is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.079 H 303.1°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#19042D
RGBrgb(25, 4, 45)
HSLhsl(271, 84%, 10%)
HSVhsv(271, 91%, 18%)
CMYKcmyk(44.4%, 91.1%, 0%, 82.4%)
CIE-LABlab(4.36, 18.71, -21.94)
CIE-LCHlch(4.36, 28.83, 310.45°)
OKLaboklab(17.9% 0.0432 -0.0663)
OKLCHoklch(17.9% 0.079 303.1)
XYZxyz(0.9179, 0.4830, 2.5270)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19042D #182D04
analogous
#05042D #19042D #2D042D
triadic
#19042D #2D1904 #042D19
tetradic
#19042D #2D0504 #182D04 #042D2D
square
#19042D #2D0504 #182D04 #042D2D
split-complementary
#19042D #2D2D04 #042D05
monochromatic
#10021C #10021C #19042D #380965 #570E9D

Accessibility & contrast

On white

19.15
#19042D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#19042D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19042D
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19042D#FFFFFF#000000##FFFFFF
##19042D1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2E
Deuteranopia (green-blind)
#000F2C
Tritanopia (blue-blind)
#150E18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #19042d;
/* rgb */ color: rgb(25, 4, 45);
/* oklch */ color: oklch(17.9% 0.079 303.1);
Tailwind
colors: {
  custom: {
    50: '#574866',
    500: '#19042d',
    950: '#000000',
  },
}
SCSS
$custom: #19042d;
$custom-light: #574866;
$custom-dark: #000000;
JSON
{
  "hex": "#19042d",
  "rgb": {
    "r": 25,
    "g": 4,
    "b": 45
  },
  "hsl": {
    "h": 270.732,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.179,
    "c": 0.07911,
    "h": 303.1
  },
  "luminance": 0.00483
}

Semantic roles & 50–950 ramp

primary
#19042D
secondary
#45701D
accent
#FA2E91
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #19042D

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

Preview Lab → · Contrast checker → · Palette generator →

#19042D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva