#19072A#19072A

#19072A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.069 H 304.1°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#19072A
RGBrgb(25, 7, 42)
HSLhsl(271, 71%, 10%)
HSVhsv(271, 83%, 16%)
CMYKcmyk(40.5%, 83.3%, 0%, 83.5%)
CIE-LABlab(4.75, 16.13, -19.06)
CIE-LCHlch(4.75, 24.97, 310.25°)
OKLaboklab(18.21% 0.0386 -0.057)
OKLCHoklch(18.21% 0.069 304.1)
XYZxyz(0.8947, 0.5258, 2.2444)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19072A #182A07
analogous
#07072A #19072A #2A072A
triadic
#19072A #2A1907 #072A19
tetradic
#19072A #2A0707 #182A07 #072A2A
square
#19072A #2A0707 #182A07 #072A2A
split-complementary
#19072A #2A2A07 #072A07
monochromatic
#10041A #10041A #19072A #38105E #571893

Accessibility & contrast

On white

19.00
#19072A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#19072A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19072A
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19072A#FFFFFF#000000##FFFFFF
##19072A1.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102B
Deuteranopia (green-blind)
#001029
Tritanopia (blue-blind)
#160F17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #19072a;
/* rgb */ color: rgb(25, 7, 42);
/* oklch */ color: oklch(18.2% 0.069 304.1);
Tailwind
colors: {
  custom: {
    50: '#564964',
    500: '#19072a',
    950: '#000000',
  },
}
SCSS
$custom: #19072a;
$custom-light: #564964;
$custom-dark: #000000;
JSON
{
  "hex": "#19072a",
  "rgb": {
    "r": 25,
    "g": 7,
    "b": 42
  },
  "hsl": {
    "h": 270.857,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.18207,
    "c": 0.06881,
    "h": 304.1
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#19072A
secondary
#456A23
accent
#EE3A91
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #19072A

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

Preview Lab → · Contrast checker → · Palette generator →

#19072A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva