#1A112E#1A112E

#1A112E is a very dark, muted violet. Relative luminance 0.008; OKLCH L 20.7% C 0.056 H 295.4°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#1A112E
RGBrgb(26, 17, 46)
HSLhsl(259, 46%, 12%)
HSVhsv(259, 63%, 18%)
CMYKcmyk(43.5%, 63%, 0%, 82%)
CIE-LABlab(7.39, 12.96, -17.88)
CIE-LCHlch(7.39, 22.08, 305.94°)
OKLaboklab(20.68% 0.024 -0.0506)
OKLCHoklch(20.68% 0.056 295.4)
XYZxyz(1.1195, 0.8177, 2.6831)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A112E #252E11
analogous
#11162E #1A112E #29112E
triadic
#1A112E #2E1A11 #112E1A
tetradic
#1A112E #2E1116 #252E11 #112E29
square
#1A112E #2E1116 #252E11 #112E29
split-complementary
#1A112E #2E2911 #162E11
monochromatic
#0D0816 #0D0816 #1A112E #33225B #4D3287

Accessibility & contrast

On white

18.05
#1A112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1A112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A112E
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A112E#FFFFFF#000000##FFFFFF
##1A112E1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06172F
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#15171D
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a112e;
/* rgb */ color: rgb(26, 17, 46);
/* oklch */ color: oklch(20.7% 0.056 295.4);
Tailwind
colors: {
  custom: {
    50: '#584f67',
    500: '#1a112e',
    950: '#000000',
  },
}
SCSS
$custom: #1a112e;
$custom-light: #584f67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a112e",
  "rgb": {
    "r": 26,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 258.621,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20684,
    "c": 0.05605,
    "h": 295.4
  },
  "luminance": 0.00818
}

Semantic roles & 50–950 ramp

primary
#1A112E
secondary
#576634
accent
#D652AD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #1A112E

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

Preview Lab → · Contrast checker → · Palette generator →

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