#1D093E#1D093E

#1D093E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.093 H 294.1°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#1D093E
RGBrgb(29, 9, 62)
HSLhsl(263, 75%, 14%)
HSVhsv(263, 85%, 24%)
CMYKcmyk(53.2%, 85.5%, 0%, 75.7%)
CIE-LABlab(7.27, 24.40, -29.72)
CIE-LCHlch(7.27, 38.45, 309.38°)
OKLaboklab(21.14% 0.0381 -0.0853)
OKLCHoklch(21.14% 0.093 294.1)
XYZxyz(1.4736, 0.8043, 4.6341)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D093E #2A3E09
analogous
#09103E #1D093E #38093E
triadic
#1D093E #3E1D09 #093E1D
tetradic
#1D093E #3E0910 #2A3E09 #093E38
square
#1D093E #3E0910 #2A3E09 #093E38
split-complementary
#1D093E #3E3809 #103E09
monochromatic
#0C041B #0C041B #1D093E #361173 #4F19A9

Accessibility & contrast

On white

18.09
#1D093E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1D093E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D093E
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D093E#FFFFFF#000000##FFFFFF
##1D093E1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001740
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#131723
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d093e;
/* rgb */ color: rgb(29, 9, 62);
/* oklch */ color: oklch(21.1% 0.093 294.1);
Tailwind
colors: {
  custom: {
    50: '#5d4a74',
    500: '#1d093e',
    950: '#000000',
  },
}
SCSS
$custom: #1d093e;
$custom-light: #5d4a74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d093e",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 62
  },
  "hsl": {
    "h": 262.642,
    "s": 74.648,
    "l": 13.922
  },
  "oklch": {
    "l": 0.21138,
    "c": 0.09344,
    "h": 294.1
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#1D093E
secondary
#5C7C27
accent
#F137AB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D093E

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

Preview Lab → · Contrast checker → · Palette generator →

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