#1A043B#1A043B

#1A043B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.097 H 294.1°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#1A043B
RGBrgb(26, 4, 59)
HSLhsl(264, 87%, 12%)
HSVhsv(264, 93%, 23%)
CMYKcmyk(55.9%, 93.2%, 0%, 76.9%)
CIE-LABlab(5.62, 25.10, -30.25)
CIE-LCHlch(5.62, 39.31, 309.69°)
OKLaboklab(19.61% 0.0395 -0.0882)
OKLCHoklch(19.61% 0.097 294.1)
XYZxyz(1.2586, 0.6222, 4.1906)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A043B #253B04
analogous
#04093B #1A043B #36043B
triadic
#1A043B #3B1A04 #043B1A
tetradic
#1A043B #3B0409 #253B04 #043B36
square
#1A043B #3B0409 #253B04 #043B36
split-complementary
#1A043B #3B3604 #093B04
monochromatic
#0D021D #0D021D #1A043B #330874 #4D0CAE

Accessibility & contrast

On white

18.68
#1A043B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1A043B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A043B
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A043B#FFFFFF#000000##FFFFFF
##1A043B1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133C
Deuteranopia (green-blind)
#00113A
Tritanopia (blue-blind)
#101420
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a043b;
/* rgb */ color: rgb(26, 4, 59);
/* oklch */ color: oklch(19.6% 0.097 294.1);
Tailwind
colors: {
  custom: {
    50: '#5b4771',
    500: '#1a043b',
    950: '#000000',
  },
}
SCSS
$custom: #1a043b;
$custom-light: #5b4771;
$custom-dark: #000000;
JSON
{
  "hex": "#1a043b",
  "rgb": {
    "r": 26,
    "g": 4,
    "b": 59
  },
  "hsl": {
    "h": 264,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19611,
    "c": 0.0967,
    "h": 294.1
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#1A043B
secondary
#577D1E
accent
#FD2AA9
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040008
muted
#79777B

Preview Lab

Preview with #1A043B

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

Preview Lab → · Contrast checker → · Palette generator →

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