#1D053A#1D053A

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

Color values

HEX#1D053A
RGBrgb(29, 5, 58)
HSLhsl(267, 84%, 12%)
HSVhsv(267, 91%, 23%)
CMYKcmyk(50%, 91.4%, 0%, 77.3%)
CIE-LABlab(6.10, 25.07, -28.73)
CIE-LCHlch(6.10, 38.13, 311.10°)
OKLaboklab(20.09% 0.0443 -0.0831)
OKLCHoklch(20.09% 0.094 298)
XYZxyz(1.3245, 0.6752, 4.0627)
Luminance0.0067 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D053A #223A05
analogous
#05073A #1D053A #38053A
triadic
#1D053A #3A1D05 #053A1D
tetradic
#1D053A #3A0507 #223A05 #053A38
square
#1D053A #3A0507 #223A05 #053A38
split-complementary
#1D053A #3A3805 #073A05
monochromatic
#0E021C #0E021C #1D053A #390A72 #550FAB

Accessibility & contrast

On white

18.50
#1D053A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D053A
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D053A#FFFFFF#000000##FFFFFF
##1D053A1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#15131F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d053a;
/* rgb */ color: rgb(29, 5, 58);
/* oklch */ color: oklch(20.1% 0.094 298.0);
Tailwind
colors: {
  custom: {
    50: '#5d4871',
    500: '#1d053a',
    950: '#000000',
  },
}
SCSS
$custom: #1d053a;
$custom-light: #5d4871;
$custom-dark: #000000;
JSON
{
  "hex": "#1d053a",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 58
  },
  "hsl": {
    "h": 267.17,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20086,
    "c": 0.09418,
    "h": 298
  },
  "luminance": 0.00675
}

Semantic roles & 50–950 ramp

primary
#1D053A
secondary
#527B20
accent
#FA2D9E
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1D053A

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

Preview Lab → · Contrast checker → · Palette generator →

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