#1A032F#1A032F

#1A032F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.084 H 303.3°. Best body text is #FFFFFF at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#1A032F
RGBrgb(26, 3, 47)
HSLhsl(271, 88%, 10%)
HSVhsv(271, 94%, 18%)
CMYKcmyk(44.7%, 93.6%, 0%, 81.6%)
CIE-LABlab(4.43, 20.47, -23.34)
CIE-LCHlch(4.43, 31.04, 311.25°)
OKLaboklab(18.07% 0.0461 -0.0702)
OKLCHoklch(18.07% 0.084 303.3)
XYZxyz(0.9715, 0.4900, 2.7322)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A032F #182F03
analogous
#04032F #1A032F #2F032E
triadic
#1A032F #2F1A03 #032F1A
tetradic
#1A032F #2F0403 #182F03 #032E2F
square
#1A032F #2F0403 #182F03 #032E2F
split-complementary
#1A032F #2E2F03 #032F04
monochromatic
#10021D #10021D #1A032F #3A0769 #5A0AA2

Accessibility & contrast

On white

19.13
#1A032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1A032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A032F
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A032F#FFFFFF#000000##FFFFFF
##1A032F1.0019.131.1019.13
#FFFFFF19.131.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F30
Deuteranopia (green-blind)
#000F2E
Tritanopia (blue-blind)
#160E18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a032f;
/* rgb */ color: rgb(26, 3, 47);
/* oklch */ color: oklch(18.1% 0.084 303.3);
Tailwind
colors: {
  custom: {
    50: '#584768',
    500: '#1a032f',
    950: '#000000',
  },
}
SCSS
$custom: #1a032f;
$custom-light: #584768;
$custom-dark: #000000;
JSON
{
  "hex": "#1a032f",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 271.364,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.18069,
    "c": 0.08394,
    "h": 303.3
  },
  "luminance": 0.0049
}

Semantic roles & 50–950 ramp

primary
#1A032F
secondary
#45731B
accent
#FE2A8F
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1A032F

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

Preview Lab → · Contrast checker → · Palette generator →

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