#1A032B#1A032B

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

Color values

HEX#1A032B
RGBrgb(26, 3, 43)
HSLhsl(275, 87%, 9%)
HSVhsv(275, 93%, 17%)
CMYKcmyk(39.5%, 93%, 0%, 83.1%)
CIE-LABlab(4.15, 18.72, -20.76)
CIE-LCHlch(4.15, 27.95, 312.04°)
OKLaboklab(17.65% 0.0475 -0.0633)
OKLCHoklch(17.65% 0.079 306.9)
XYZxyz(0.8945, 0.4592, 2.3265)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A032B #142B03
analogous
#06032B #1A032B #2B0328
triadic
#1A032B #2B1A03 #032B1A
tetradic
#1A032B #2B0603 #142B03 #03282B
square
#1A032B #2B0603 #142B03 #03282B
split-complementary
#1A032B #282B03 #032B06
monochromatic
#11021D #11021D #1A032B #3D0764 #5F0B9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A032B#FFFFFF#000000##FFFFFF
##1A032B1.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)
#000E2C
Deuteranopia (green-blind)
#000F2A
Tritanopia (blue-blind)
#170C16
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a032b;
/* rgb */ color: rgb(26, 3, 43);
/* oklch */ color: oklch(17.6% 0.079 306.9);
Tailwind
colors: {
  custom: {
    50: '#574764',
    500: '#1a032b',
    950: '#000000',
  },
}
SCSS
$custom: #1a032b;
$custom-light: #574764;
$custom-dark: #000000;
JSON
{
  "hex": "#1a032b",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 43
  },
  "hsl": {
    "h": 274.5,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.17645,
    "c": 0.07918,
    "h": 306.9
  },
  "luminance": 0.00459
}

Semantic roles & 50–950 ramp

primary
#1A032B
secondary
#3F6F1B
accent
#FD2B84
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #1A032B

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

Preview Lab → · Contrast checker → · Palette generator →

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