#1D033B#1D033B

#1D033B is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.9% C 0.099 H 298.1°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#1D033B
RGBrgb(29, 3, 59)
HSLhsl(268, 90%, 12%)
HSVhsv(268, 95%, 23%)
CMYKcmyk(50.8%, 94.9%, 0%, 76.9%)
CIE-LABlab(5.80, 26.48, -29.94)
CIE-LCHlch(5.80, 39.97, 311.49°)
OKLaboklab(19.87% 0.0465 -0.087)
OKLCHoklch(19.87% 0.099 298.1)
XYZxyz(1.3285, 0.6421, 4.1908)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D033B #213B03
analogous
#03053B #1D033B #39033B
triadic
#1D033B #3B1D03 #033B1D
tetradic
#1D033B #3B0305 #213B03 #033B39
square
#1D033B #3B0305 #213B03 #033B39
split-complementary
#1D033B #3B3903 #053B03
monochromatic
#0E011D #0E011D #1D033B #3A0675 #5609AF

Accessibility & contrast

On white

18.61
#1D033B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D033B
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D033B#FFFFFF#000000##FFFFFF
##1D033B1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133C
Deuteranopia (green-blind)
#00123A
Tritanopia (blue-blind)
#15131F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d033b;
/* rgb */ color: rgb(29, 3, 59);
/* oklch */ color: oklch(19.9% 0.099 298.1);
Tailwind
colors: {
  custom: {
    50: '#5d4771',
    500: '#1d033b',
    950: '#000000',
  },
}
SCSS
$custom: #1d033b;
$custom-light: #5d4771;
$custom-dark: #000000;
JSON
{
  "hex": "#1d033b",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 59
  },
  "hsl": {
    "h": 267.857,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19869,
    "c": 0.09862,
    "h": 298.1
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#1D033B
secondary
#507E1C
accent
#FF299C
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040008
muted
#79777B

Preview Lab

Preview with #1D033B

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

Preview Lab → · Contrast checker → · Palette generator →

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