#1D053F#1D053F

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

Color values

HEX#1D053F
RGBrgb(29, 5, 63)
HSLhsl(265, 85%, 13%)
HSVhsv(265, 92%, 25%)
CMYKcmyk(54%, 92.1%, 0%, 75.3%)
CIE-LABlab(6.58, 26.90, -31.55)
CIE-LCHlch(6.58, 41.46, 310.45°)
OKLaboklab(20.65% 0.0422 -0.091)
OKLCHoklch(20.65% 0.1 294.9)
XYZxyz(1.4579, 0.7286, 4.7655)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D053F #273F05
analogous
#050A3F #1D053F #3A053F
triadic
#1D053F #3F1D05 #053F1D
tetradic
#1D053F #3F050A #273F05 #053F3A
square
#1D053F #3F050A #273F05 #053F3A
split-complementary
#1D053F #3F3A05 #0A3F05
monochromatic
#0D021C #0D021C #1D053F #370978 #510EB0

Accessibility & contrast

On white

18.33
#1D053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1D053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D053F
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D053F#FFFFFF#000000##FFFFFF
##1D053F1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#131622
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d053f;
/* rgb */ color: rgb(29, 5, 63);
/* oklch */ color: oklch(20.6% 0.100 294.9);
Tailwind
colors: {
  custom: {
    50: '#5e4875',
    500: '#1d053f',
    950: '#000000',
  },
}
SCSS
$custom: #1d053f;
$custom-light: #5e4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1d053f",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 264.828,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20646,
    "c": 0.10032,
    "h": 294.9
  },
  "luminance": 0.00729
}

Semantic roles & 50–950 ramp

primary
#1D053F
secondary
#588020
accent
#FC2CA6
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050008
muted
#79777B

Preview Lab

Preview with #1D053F

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

Preview Lab → · Contrast checker → · Palette generator →

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