#1A032A#1A032A

#1A032A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.078 H 307.8°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#1A032A
RGBrgb(26, 3, 42)
HSLhsl(275, 87%, 9%)
HSVhsv(275, 93%, 16%)
CMYKcmyk(38.1%, 92.9%, 0%, 83.5%)
CIE-LABlab(4.08, 18.29, -20.10)
CIE-LCHlch(4.08, 27.18, 312.29°)
OKLaboklab(17.54% 0.0478 -0.0616)
OKLCHoklch(17.54% 0.078 307.8)
XYZxyz(0.8764, 0.4519, 2.2311)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A032A #132A03
analogous
#07032A #1A032A #2A0327
triadic
#1A032A #2A1A03 #032A1A
tetradic
#1A032A #2A0703 #132A03 #03272A
square
#1A032A #2A0703 #132A03 #03272A
split-complementary
#1A032A #272A03 #032A07
monochromatic
#12021D #12021D #1A032A #3D0763 #610B9C

Accessibility & contrast

On white

19.26
#1A032A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A032A
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A032A#FFFFFF#000000##FFFFFF
##1A032A1.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D2B
Deuteranopia (green-blind)
#000F29
Tritanopia (blue-blind)
#170B15
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #1a032a;
/* rgb */ color: rgb(26, 3, 42);
/* oklch */ color: oklch(17.5% 0.078 307.8);
Tailwind
colors: {
  custom: {
    50: '#574764',
    500: '#1a032a',
    950: '#000000',
  },
}
SCSS
$custom: #1a032a;
$custom-light: #574764;
$custom-dark: #000000;
JSON
{
  "hex": "#1a032a",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 42
  },
  "hsl": {
    "h": 275.385,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.17542,
    "c": 0.07799,
    "h": 307.8
  },
  "luminance": 0.00452
}

Semantic roles & 50–950 ramp

primary
#1A032A
secondary
#3D6E1B
accent
#FD2B81
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #1A032A

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

Preview Lab → · Contrast checker → · Palette generator →

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