#19012E#19012E

#19012E is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.087 H 303.8°. Best body text is #FFFFFF at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#19012E
RGBrgb(25, 1, 46)
HSLhsl(272, 96%, 9%)
HSVhsv(272, 98%, 18%)
CMYKcmyk(45.7%, 97.8%, 0%, 82%)
CIE-LABlab(3.84, 20.43, -23.52)
CIE-LCHlch(3.84, 31.15, 310.99°)
OKLaboklab(17.38% 0.0484 -0.0723)
OKLCHoklch(17.38% 0.087 303.8)
XYZxyz(0.9048, 0.4256, 2.6187)
Luminance0.0043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19012E #162E01
analogous
#03012E #19012E #2E012D
triadic
#19012E #2E1901 #012E19
tetradic
#19012E #2E0301 #162E01 #012D2E
square
#19012E #2E0301 #162E01 #012D2E
split-complementary
#19012E #2D2E01 #012E03
monochromatic
#10011E #10011E #19012E #3A026A #5A04A6

Accessibility & contrast

On white

19.35
#19012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#19012E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19012E
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19012E#FFFFFF#000000##FFFFFF
##19012E1.0019.351.0919.35
#FFFFFF19.351.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2F
Deuteranopia (green-blind)
#000E2D
Tritanopia (blue-blind)
#150C17
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #19012e;
/* rgb */ color: rgb(25, 1, 46);
/* oklch */ color: oklch(17.4% 0.087 303.8);
Tailwind
colors: {
  custom: {
    50: '#574667',
    500: '#19012e',
    950: '#000000',
  },
}
SCSS
$custom: #19012e;
$custom-light: #574667;
$custom-dark: #000000;
JSON
{
  "hex": "#19012e",
  "rgb": {
    "r": 25,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 272,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17375,
    "c": 0.08703,
    "h": 303.8
  },
  "luminance": 0.00426
}

Semantic roles & 50–950 ramp

primary
#19012E
secondary
#427417
accent
#FF298D
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #19012E

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

Preview Lab → · Contrast checker → · Palette generator →

#19012E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva