#1A002B#1A002B

#1A002B is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.0% C 0.087 H 308.4°. Best body text is #FFFFFF at 19.47:1 contrast (WCAG AA passes).

Color values

HEX#1A002B
RGBrgb(26, 0, 43)
HSLhsl(276, 100%, 8%)
HSVhsv(276, 100%, 17%)
CMYKcmyk(39.5%, 100%, 0%, 83.1%)
CIE-LABlab(3.56, 19.96, -21.69)
CIE-LCHlch(3.56, 29.48, 312.63°)
OKLaboklab(16.98% 0.0538 -0.0679)
OKLCHoklch(16.98% 0.087 308.4)
XYZxyz(0.8620, 0.3940, 2.3157)
Luminance0.0039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A002B #112B00
analogous
#04002B #1A002B #2B0026
triadic
#1A002B #2B1A00 #002B1A
tetradic
#1A002B #2B0400 #112B00 #00262B
square
#1A002B #2B0400 #112B00 #00262B
split-complementary
#1A002B #262B00 #002B04
monochromatic
#13001F #13001F #1A002B #3F0068 #6400A5

Accessibility & contrast

On white

19.47
#1A002B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#1A002B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A002B
19.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A002B#FFFFFF#000000##FFFFFF
##1A002B1.0019.471.0819.47
#FFFFFF19.471.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2C
Deuteranopia (green-blind)
#000D2A
Tritanopia (blue-blind)
#170915
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #1a002b;
/* rgb */ color: rgb(26, 0, 43);
/* oklch */ color: oklch(17.0% 0.087 308.4);
Tailwind
colors: {
  custom: {
    50: '#574664',
    500: '#1a002b',
    950: '#000000',
  },
}
SCSS
$custom: #1a002b;
$custom-light: #574664;
$custom-dark: #000000;
JSON
{
  "hex": "#1a002b",
  "rgb": {
    "r": 26,
    "g": 0,
    "b": 43
  },
  "hsl": {
    "h": 276.279,
    "s": 100,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16984,
    "c": 0.08662,
    "h": 308.4
  },
  "luminance": 0.00394
}

Semantic roles & 50–950 ramp

primary
#1A002B
secondary
#3A7314
accent
#FF297D
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030005
muted
#78777A

Preview Lab

Preview with #1A002B

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

Preview Lab → · Contrast checker → · Palette generator →

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