#19012A#19012A

#19012A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.9% C 0.083 H 307.5°. Best body text is #FFFFFF at 19.46:1 contrast (WCAG AA passes).

Color values

HEX#19012A
RGBrgb(25, 1, 42)
HSLhsl(275, 95%, 8%)
HSVhsv(275, 98%, 16%)
CMYKcmyk(40.5%, 97.6%, 0%, 83.5%)
CIE-LABlab(3.57, 18.58, -20.91)
CIE-LCHlch(3.57, 27.98, 311.62°)
OKLaboklab(16.93% 0.0503 -0.0656)
OKLCHoklch(16.93% 0.083 307.5)
XYZxyz(0.8296, 0.3956, 2.2227)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19012A #122A01
analogous
#04012A #19012A #2A0126
triadic
#19012A #2A1901 #012A19
tetradic
#19012A #2A0401 #122A01 #01262A
square
#19012A #2A0401 #122A01 #01262A
split-complementary
#19012A #262A01 #012A04
monochromatic
#12011E #12011E #19012A #3D0266 #6004A2

Accessibility & contrast

On white

19.46
#19012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#19012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #19012A
19.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19012A#FFFFFF#000000##FFFFFF
##19012A1.0019.461.0819.46
#FFFFFF19.461.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000D29
Tritanopia (blue-blind)
#160A15
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #19012a;
/* rgb */ color: rgb(25, 1, 42);
/* oklch */ color: oklch(16.9% 0.083 307.5);
Tailwind
colors: {
  custom: {
    50: '#564664',
    500: '#19012a',
    950: '#000000',
  },
}
SCSS
$custom: #19012a;
$custom-light: #564664;
$custom-dark: #000000;
JSON
{
  "hex": "#19012a",
  "rgb": {
    "r": 25,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 275.122,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16925,
    "c": 0.08266,
    "h": 307.5
  },
  "luminance": 0.00396
}

Semantic roles & 50–950 ramp

primary
#19012A
secondary
#3C7016
accent
#FF2982
background
#F5F3F5
surface
#E9E5EA
border
#C5C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #19012A

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

Preview Lab → · Contrast checker → · Palette generator →

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