#1A0023#1A0023

#1A0023 is a very dark, moderate purple. Relative luminance 0.003; OKLCH L 16.1% C 0.079 H 316.8°. Best body text is #FFFFFF at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#1A0023
RGBrgb(26, 0, 35)
HSLhsl(285, 100%, 7%)
HSVhsv(285, 100%, 14%)
CMYKcmyk(25.7%, 100%, 0%, 86.3%)
CIE-LABlab(3.08, 16.60, -16.27)
CIE-LCHlch(3.08, 23.24, 315.58°)
OKLaboklab(16.13% 0.0574 -0.0539)
OKLCHoklch(16.13% 0.079 316.8)
XYZxyz(0.7293, 0.3410, 1.6172)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0023 #092300
analogous
#090023 #1A0023 #23001B
triadic
#1A0023 #231A00 #00231A
tetradic
#1A0023 #230900 #092300 #001B23
square
#1A0023 #230900 #092300 #001B23
split-complementary
#1A0023 #1B2300 #002309
monochromatic
#17001F #17001F #1A0023 #470060 #75009D

Accessibility & contrast

On white

19.66
#1A0023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#1A0023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0023
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0023#FFFFFF#000000##FFFFFF
##1A00231.0019.661.0719.66
#FFFFFF19.661.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000924
Deuteranopia (green-blind)
#000C22
Tritanopia (blue-blind)
#190610
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #1a0023;
/* rgb */ color: rgb(26, 0, 35);
/* oklch */ color: oklch(16.1% 0.079 316.8);
Tailwind
colors: {
  custom: {
    50: '#56465e',
    500: '#1a0023',
    950: '#000000',
  },
}
SCSS
$custom: #1a0023;
$custom-light: #56465e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0023",
  "rgb": {
    "r": 26,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 284.571,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.16128,
    "c": 0.0787,
    "h": 316.8
  },
  "luminance": 0.00341
}

Semantic roles & 50–950 ramp

primary
#1A0023
secondary
#2A6C13
accent
#FF2960
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#030004
muted
#787779

Preview Lab

Preview with #1A0023

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

Preview Lab → · Contrast checker → · Palette generator →

#1A0023 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva