#1D053C#1D053C

#1D053C is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.097 H 296.7°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#1D053C
RGBrgb(29, 5, 60)
HSLhsl(266, 85%, 13%)
HSVhsv(266, 92%, 24%)
CMYKcmyk(51.7%, 91.7%, 0%, 76.5%)
CIE-LABlab(6.29, 25.81, -29.87)
CIE-LCHlch(6.29, 39.48, 310.83°)
OKLaboklab(20.31% 0.0435 -0.0863)
OKLCHoklch(20.31% 0.097 296.7)
XYZxyz(1.3764, 0.6960, 4.3359)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D053C #243C05
analogous
#05083C #1D053C #38053C
triadic
#1D053C #3C1D05 #053C1D
tetradic
#1D053C #3C0508 #243C05 #053C38
square
#1D053C #3C0508 #243C05 #053C38
split-complementary
#1D053C #3C3805 #083C05
monochromatic
#0E021C #0E021C #1D053C #380A74 #540EAD

Accessibility & contrast

On white

18.43
#1D053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D053C
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D053C#FFFFFF#000000##FFFFFF
##1D053C1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143E
Deuteranopia (green-blind)
#00133B
Tritanopia (blue-blind)
#141421
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d053c;
/* rgb */ color: rgb(29, 5, 60);
/* oklch */ color: oklch(20.3% 0.097 296.7);
Tailwind
colors: {
  custom: {
    50: '#5d4872',
    500: '#1d053c',
    950: '#000000',
  },
}
SCSS
$custom: #1d053c;
$custom-light: #5d4872;
$custom-dark: #000000;
JSON
{
  "hex": "#1d053c",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 266.182,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.20308,
    "c": 0.09664,
    "h": 296.7
  },
  "luminance": 0.00696
}

Semantic roles & 50–950 ramp

primary
#1D053C
secondary
#547D20
accent
#FB2DA1
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #1D053C

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

Preview Lab → · Contrast checker → · Palette generator →

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