#19042C#19042C

#19042C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.078 H 303.9°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#19042C
RGBrgb(25, 4, 44)
HSLhsl(272, 83%, 9%)
HSVhsv(272, 91%, 17%)
CMYKcmyk(43.2%, 90.9%, 0%, 82.7%)
CIE-LABlab(4.29, 18.26, -21.29)
CIE-LCHlch(4.29, 28.05, 310.61°)
OKLaboklab(17.8% 0.0435 -0.0646)
OKLCHoklch(17.8% 0.078 303.9)
XYZxyz(0.8988, 0.4754, 2.4268)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19042C #172C04
analogous
#05042C #19042C #2C042B
triadic
#19042C #2C1904 #042C19
tetradic
#19042C #2C0504 #172C04 #042B2C
square
#19042C #2C0504 #172C04 #042B2C
split-complementary
#19042C #2B2C04 #042C05
monochromatic
#10031C #10031C #19042C #390964 #590E9C

Accessibility & contrast

On white

19.18
#19042C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19042C
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19042C#FFFFFF#000000##FFFFFF
##19042C1.0019.181.1019.18
#FFFFFF19.181.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2D
Deuteranopia (green-blind)
#000F2B
Tritanopia (blue-blind)
#150D17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #19042c;
/* rgb */ color: rgb(25, 4, 44);
/* oklch */ color: oklch(17.8% 0.078 303.9);
Tailwind
colors: {
  custom: {
    50: '#574865',
    500: '#19042c',
    950: '#000000',
  },
}
SCSS
$custom: #19042c;
$custom-light: #574865;
$custom-dark: #000000;
JSON
{
  "hex": "#19042c",
  "rgb": {
    "r": 25,
    "g": 4,
    "b": 44
  },
  "hsl": {
    "h": 271.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17796,
    "c": 0.07785,
    "h": 303.9
  },
  "luminance": 0.00475
}

Semantic roles & 50–950 ramp

primary
#19042C
secondary
#446F1D
accent
#FA2E8F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #19042C

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

Preview Lab → · Contrast checker → · Palette generator →

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