#1A033A#1A033A

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

Color values

HEX#1A033A
RGBrgb(26, 3, 58)
HSLhsl(265, 90%, 12%)
HSVhsv(265, 95%, 23%)
CMYKcmyk(55.2%, 94.8%, 0%, 77.3%)
CIE-LABlab(5.33, 25.19, -29.99)
CIE-LCHlch(5.33, 39.17, 310.03°)
OKLaboklab(19.32% 0.0413 -0.0879)
OKLCHoklch(19.32% 0.097 295.2)
XYZxyz(1.2221, 0.5902, 4.0517)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A033A #233A03
analogous
#03083A #1A033A #36033A
triadic
#1A033A #3A1A03 #033A1A
tetradic
#1A033A #3A0308 #233A03 #033A36
square
#1A033A #3A0308 #233A03 #033A36
split-complementary
#1A033A #3A3603 #083A03
monochromatic
#0D021D #0D021D #1A033A #340674 #4E09AE

Accessibility & contrast

On white

18.78
#1A033A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A033A
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A033A#FFFFFF#000000##FFFFFF
##1A033A1.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00123B
Deuteranopia (green-blind)
#001139
Tritanopia (blue-blind)
#10131F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a033a;
/* rgb */ color: rgb(26, 3, 58);
/* oklch */ color: oklch(19.3% 0.097 295.2);
Tailwind
colors: {
  custom: {
    50: '#5b4771',
    500: '#1a033a',
    950: '#000000',
  },
}
SCSS
$custom: #1a033a;
$custom-light: #5b4771;
$custom-dark: #000000;
JSON
{
  "hex": "#1a033a",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 58
  },
  "hsl": {
    "h": 265.091,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.1932,
    "c": 0.0971,
    "h": 295.2
  },
  "luminance": 0.0059
}

Semantic roles & 50–950 ramp

primary
#1A033A
secondary
#547D1C
accent
#FF29A5
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1A033A

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

Preview Lab → · Contrast checker → · Palette generator →

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