#1A043F#1A043F

#1A043F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.102 H 291.8°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#1A043F
RGBrgb(26, 4, 63)
HSLhsl(262, 88%, 13%)
HSVhsv(262, 94%, 25%)
CMYKcmyk(58.7%, 93.7%, 0%, 75.3%)
CIE-LABlab(6.01, 26.71, -32.50)
CIE-LCHlch(6.01, 42.06, 309.41°)
OKLaboklab(20.09% 0.0377 -0.0944)
OKLCHoklch(20.09% 0.102 291.8)
XYZxyz(1.3664, 0.6653, 4.7581)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A043F #293F04
analogous
#040B3F #1A043F #37043F
triadic
#1A043F #3F1A04 #043F1A
tetradic
#1A043F #3F040B #293F04 #043F37
square
#1A043F #3F040B #293F04 #043F37
split-complementary
#1A043F #3F3704 #0B3F04
monochromatic
#0C021D #0C021D #1A043F #320879 #490BB2

Accessibility & contrast

On white

18.53
#1A043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1A043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A043F
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A043F#FFFFFF#000000##FFFFFF
##1A043F1.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#0D1522
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1a043f;
/* rgb */ color: rgb(26, 4, 63);
/* oklch */ color: oklch(20.1% 0.102 291.8);
Tailwind
colors: {
  custom: {
    50: '#5c4775',
    500: '#1a043f',
    950: '#000000',
  },
}
SCSS
$custom: #1a043f;
$custom-light: #5c4775;
$custom-dark: #000000;
JSON
{
  "hex": "#1a043f",
  "rgb": {
    "r": 26,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 262.373,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20086,
    "c": 0.10162,
    "h": 291.8
  },
  "luminance": 0.00665
}

Semantic roles & 50–950 ramp

primary
#1A043F
secondary
#5C801E
accent
#FE2AAF
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #1A043F

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

Preview Lab → · Contrast checker → · Palette generator →

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