#1A022E#1A022E

#1A022E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.8% C 0.085 H 304.6°. Best body text is #FFFFFF at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#1A022E
RGBrgb(26, 2, 46)
HSLhsl(273, 92%, 9%)
HSVhsv(273, 96%, 18%)
CMYKcmyk(43.5%, 95.7%, 0%, 82%)
CIE-LABlab(4.16, 20.46, -23.01)
CIE-LCHlch(4.16, 30.79, 311.65°)
OKLaboklab(17.75% 0.0483 -0.0699)
OKLCHoklch(17.75% 0.085 304.6)
XYZxyz(0.9407, 0.4603, 2.6235)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A022E #162E02
analogous
#04022E #1A022E #2E022C
triadic
#1A022E #2E1A02 #022E1A
tetradic
#1A022E #2E0402 #162E02 #022C2E
square
#1A022E #2E0402 #162E02 #022C2E
split-complementary
#1A022E #2C2E02 #022E04
monochromatic
#11011D #11011D #1A022E #3B0569 #5C07A3

Accessibility & contrast

On white

19.23
#1A022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#1A022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A022E
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A022E#FFFFFF#000000##FFFFFF
##1A022E1.0019.231.0919.23
#FFFFFF19.231.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#160C17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a022e;
/* rgb */ color: rgb(26, 2, 46);
/* oklch */ color: oklch(17.8% 0.085 304.6);
Tailwind
colors: {
  custom: {
    50: '#584767',
    500: '#1a022e',
    950: '#000000',
  },
}
SCSS
$custom: #1a022e;
$custom-light: #584767;
$custom-dark: #000000;
JSON
{
  "hex": "#1a022e",
  "rgb": {
    "r": 26,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 272.727,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17754,
    "c": 0.08497,
    "h": 304.6
  },
  "luminance": 0.0046
}

Semantic roles & 50–950 ramp

primary
#1A022E
secondary
#427319
accent
#FF298A
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1A022E

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

Preview Lab → · Contrast checker → · Palette generator →

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