#1A053C#1A053C

#1A053C is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.096 H 293.1°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#1A053C
RGBrgb(26, 5, 60)
HSLhsl(263, 85%, 13%)
HSVhsv(263, 92%, 24%)
CMYKcmyk(56.7%, 91.7%, 0%, 76.5%)
CIE-LABlab(5.91, 25.00, -30.50)
CIE-LCHlch(5.91, 39.43, 309.34°)
OKLaboklab(19.9% 0.0379 -0.0886)
OKLCHoklch(19.9% 0.096 293.1)
XYZxyz(1.2957, 0.6544, 4.3321)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A053C #273C05
analogous
#050C3C #1A053C #35053C
triadic
#1A053C #3C1A05 #053C1A
tetradic
#1A053C #3C050C #273C05 #053C35
square
#1A053C #3C050C #273C05 #053C35
split-complementary
#1A053C #3C3505 #0C3C05
monochromatic
#0C021C #0C021C #1A053C #320A74 #4B0EAD

Accessibility & contrast

On white

18.57
#1A053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A053C
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A053C#FFFFFF#000000##FFFFFF
##1A053C1.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143E
Deuteranopia (green-blind)
#00123B
Tritanopia (blue-blind)
#0F1521
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1a053c;
/* rgb */ color: rgb(26, 5, 60);
/* oklch */ color: oklch(19.9% 0.096 293.1);
Tailwind
colors: {
  custom: {
    50: '#5b4872',
    500: '#1a053c',
    950: '#000000',
  },
}
SCSS
$custom: #1a053c;
$custom-light: #5b4872;
$custom-dark: #000000;
JSON
{
  "hex": "#1a053c",
  "rgb": {
    "r": 26,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 262.909,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19896,
    "c": 0.09639,
    "h": 293.1
  },
  "luminance": 0.00654
}

Semantic roles & 50–950 ramp

primary
#1A053C
secondary
#597D20
accent
#FB2DAC
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #1A053C

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

Preview Lab → · Contrast checker → · Palette generator →

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