#1A052B#1A052B

#1A052B is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.075 H 305.8°. Best body text is #FFFFFF at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#1A052B
RGBrgb(26, 5, 43)
HSLhsl(273, 79%, 9%)
HSVhsv(273, 88%, 17%)
CMYKcmyk(39.5%, 88.4%, 0%, 83.1%)
CIE-LABlab(4.54, 17.88, -20.14)
CIE-LCHlch(4.54, 26.93, 311.59°)
OKLaboklab(18.06% 0.0437 -0.0606)
OKLCHoklch(18.06% 0.075 305.8)
XYZxyz(0.9162, 0.5026, 2.3338)
Luminance0.0050 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A052B #162B05
analogous
#07052B #1A052B #2B0529
triadic
#1A052B #2B1A05 #052B1A
tetradic
#1A052B #2B0705 #162B05 #05292B
square
#1A052B #2B0705 #162B05 #05292B
split-complementary
#1A052B #292B05 #052B07
monochromatic
#11031B #11031B #1A052B #3B0B62 #5C1299

Accessibility & contrast

On white

19.08
#1A052B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A052B
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A052B#FFFFFF#000000##FFFFFF
##1A052B1.0019.081.1019.08
#FFFFFF19.081.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#00102A
Tritanopia (blue-blind)
#170D17
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1a052b;
/* rgb */ color: rgb(26, 5, 43);
/* oklch */ color: oklch(18.1% 0.075 305.8);
Tailwind
colors: {
  custom: {
    50: '#574864',
    500: '#1a052b',
    950: '#000000',
  },
}
SCSS
$custom: #1a052b;
$custom-light: #574864;
$custom-dark: #000000;
JSON
{
  "hex": "#1a052b",
  "rgb": {
    "r": 26,
    "g": 5,
    "b": 43
  },
  "hsl": {
    "h": 273.158,
    "s": 79.167,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18059,
    "c": 0.07468,
    "h": 305.8
  },
  "luminance": 0.00503
}

Semantic roles & 50–950 ramp

primary
#1A052B
secondary
#426D1F
accent
#F6328A
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030005
muted
#78777A

Preview Lab

Preview with #1A052B

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

Preview Lab → · Contrast checker → · Palette generator →

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