#19012D#19012D

#19012D is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.3% C 0.086 H 304.7°. Best body text is #FFFFFF at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#19012D
RGBrgb(25, 1, 45)
HSLhsl(273, 96%, 9%)
HSVhsv(273, 98%, 18%)
CMYKcmyk(44.4%, 97.8%, 0%, 82.4%)
CIE-LABlab(3.77, 19.97, -22.87)
CIE-LCHlch(3.77, 30.36, 311.12°)
OKLaboklab(17.26% 0.0489 -0.0707)
OKLCHoklch(17.26% 0.086 304.7)
XYZxyz(0.8853, 0.4178, 2.5161)
Luminance0.0042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#19012D #152D01
analogous
#03012D #19012D #2D012B
triadic
#19012D #2D1901 #012D19
tetradic
#19012D #2D0301 #152D01 #012B2D
square
#19012D #2D0301 #152D01 #012B2D
split-complementary
#19012D #2B2D01 #012D03
monochromatic
#11011E #11011E #19012D #3A0269 #5C04A5

Accessibility & contrast

On white

19.38
#19012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #19012D
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##19012D#FFFFFF#000000##FFFFFF
##19012D1.0019.381.0819.38
#FFFFFF19.381.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2E
Deuteranopia (green-blind)
#000D2C
Tritanopia (blue-blind)
#150B16
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #19012d;
/* rgb */ color: rgb(25, 1, 45);
/* oklch */ color: oklch(17.3% 0.086 304.7);
Tailwind
colors: {
  custom: {
    50: '#574666',
    500: '#19012d',
    950: '#000000',
  },
}
SCSS
$custom: #19012d;
$custom-light: #574666;
$custom-dark: #000000;
JSON
{
  "hex": "#19012d",
  "rgb": {
    "r": 25,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 272.727,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17261,
    "c": 0.08593,
    "h": 304.7
  },
  "luminance": 0.00418
}

Semantic roles & 50–950 ramp

primary
#19012D
secondary
#417317
accent
#FF298A
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #19012D

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

Preview Lab → · Contrast checker → · Palette generator →

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