#1A053F#1A053F

#1A053F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.100 H 291.4°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#1A053F
RGBrgb(26, 5, 63)
HSLhsl(262, 85%, 13%)
HSVhsv(262, 92%, 25%)
CMYKcmyk(58.7%, 92.1%, 0%, 75.3%)
CIE-LABlab(6.21, 26.18, -32.18)
CIE-LCHlch(6.21, 41.48, 309.13°)
OKLaboklab(20.25% 0.0366 -0.0932)
OKLCHoklch(20.25% 0.1 291.4)
XYZxyz(1.3772, 0.6870, 4.7617)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A053F #2A3F05
analogous
#050D3F #1A053F #37053F
triadic
#1A053F #3F1A05 #053F1A
tetradic
#1A053F #3F050D #2A3F05 #053F37
square
#1A053F #3F050D #2A3F05 #053F37
split-complementary
#1A053F #3F3705 #0D3F05
monochromatic
#0C021C #0C021C #1A053F #310978 #490EB0

Accessibility & contrast

On white

18.46
#1A053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1A053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A053F
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A053F#FFFFFF#000000##FFFFFF
##1A053F1.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#0D1622
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a053f;
/* rgb */ color: rgb(26, 5, 63);
/* oklch */ color: oklch(20.2% 0.100 291.4);
Tailwind
colors: {
  custom: {
    50: '#5c4875',
    500: '#1a053f',
    950: '#000000',
  },
}
SCSS
$custom: #1a053f;
$custom-light: #5c4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1a053f",
  "rgb": {
    "r": 26,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 261.724,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20247,
    "c": 0.10018,
    "h": 291.4
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#1A053F
secondary
#5D8020
accent
#FC2CB0
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #1A053F

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

Preview Lab → · Contrast checker → · Palette generator →

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