#1A032C#1A032C

#1A032C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.7% C 0.080 H 305.9°. Best body text is #FFFFFF at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#1A032C
RGBrgb(26, 3, 44)
HSLhsl(274, 87%, 9%)
HSVhsv(274, 93%, 17%)
CMYKcmyk(40.9%, 93.2%, 0%, 82.7%)
CIE-LABlab(4.21, 19.16, -21.41)
CIE-LCHlch(4.21, 28.73, 311.82°)
OKLaboklab(17.75% 0.0472 -0.0651)
OKLCHoklch(17.75% 0.08 305.9)
XYZxyz(0.9131, 0.4666, 2.4243)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A032C #152C03
analogous
#06032C #1A032C #2C032A
triadic
#1A032C #2C1A03 #032C1A
tetradic
#1A032C #2C0603 #152C03 #032A2C
square
#1A032C #2C0603 #152C03 #032A2C
split-complementary
#1A032C #2A2C03 #032C06
monochromatic
#11021D #11021D #1A032C #3C0765 #5E0B9F

Accessibility & contrast

On white

19.21
#1A032C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A032C
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A032C#FFFFFF#000000##FFFFFF
##1A032C1.0019.211.0919.21
#FFFFFF19.211.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2D
Deuteranopia (green-blind)
#000F2B
Tritanopia (blue-blind)
#170C17
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a032c;
/* rgb */ color: rgb(26, 3, 44);
/* oklch */ color: oklch(17.7% 0.080 305.9);
Tailwind
colors: {
  custom: {
    50: '#574765',
    500: '#1a032c',
    950: '#000000',
  },
}
SCSS
$custom: #1a032c;
$custom-light: #574765;
$custom-dark: #000000;
JSON
{
  "hex": "#1a032c",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 44
  },
  "hsl": {
    "h": 273.659,
    "s": 87.234,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17749,
    "c": 0.08037,
    "h": 305.9
  },
  "luminance": 0.00467
}

Semantic roles & 50–950 ramp

primary
#1A032C
secondary
#40701B
accent
#FD2A87
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #1A032C

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

Preview Lab → · Contrast checker → · Palette generator →

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