#1A032E#1A032E

#1A032E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.083 H 304.1°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#1A032E
RGBrgb(26, 3, 46)
HSLhsl(272, 88%, 10%)
HSVhsv(272, 93%, 18%)
CMYKcmyk(43.5%, 93.5%, 0%, 82%)
CIE-LABlab(4.35, 20.03, -22.70)
CIE-LCHlch(4.35, 30.27, 311.43°)
OKLaboklab(17.96% 0.0464 -0.0685)
OKLCHoklch(17.96% 0.083 304.1)
XYZxyz(0.9516, 0.4820, 2.6271)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A032E #172E03
analogous
#05032E #1A032E #2E032D
triadic
#1A032E #2E1A03 #032E1A
tetradic
#1A032E #2E0503 #172E03 #032D2E
square
#1A032E #2E0503 #172E03 #032D2E
split-complementary
#1A032E #2D2E03 #032E05
monochromatic
#10021D #10021D #1A032E #3A0767 #5B0AA1

Accessibility & contrast

On white

19.15
#1A032E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A032E
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A032E#FFFFFF#000000##FFFFFF
##1A032E1.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2F
Deuteranopia (green-blind)
#000F2D
Tritanopia (blue-blind)
#160D18
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #1a032e;
/* rgb */ color: rgb(26, 3, 46);
/* oklch */ color: oklch(18.0% 0.083 304.1);
Tailwind
colors: {
  custom: {
    50: '#584767',
    500: '#1a032e',
    950: '#000000',
  },
}
SCSS
$custom: #1a032e;
$custom-light: #584767;
$custom-dark: #000000;
JSON
{
  "hex": "#1a032e",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 46
  },
  "hsl": {
    "h": 272.093,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.17961,
    "c": 0.08275,
    "h": 304.1
  },
  "luminance": 0.00482
}

Semantic roles & 50–950 ramp

primary
#1A032E
secondary
#43721B
accent
#FE2A8D
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1A032E

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

Preview Lab → · Contrast checker → · Palette generator →

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