#1D093F#1D093F

#1D093F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.095 H 293.5°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#1D093F
RGBrgb(29, 9, 63)
HSLhsl(262, 75%, 14%)
HSVhsv(262, 86%, 25%)
CMYKcmyk(54%, 85.7%, 0%, 75.3%)
CIE-LABlab(7.37, 24.74, -30.27)
CIE-LCHlch(7.37, 39.09, 309.26°)
OKLaboklab(21.25% 0.0378 -0.0869)
OKLCHoklch(21.25% 0.095 293.5)
XYZxyz(1.5013, 0.8154, 4.7800)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D093F #2B3F09
analogous
#09103F #1D093F #38093F
triadic
#1D093F #3F1D09 #093F1D
tetradic
#1D093F #3F0910 #2B3F09 #093F38
square
#1D093F #3F0910 #2B3F09 #093F38
split-complementary
#1D093F #3F3809 #103F09
monochromatic
#0C041B #0C041B #1D093F #361175 #4E18AA

Accessibility & contrast

On white

18.06
#1D093F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D093F
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D093F#FFFFFF#000000##FFFFFF
##1D093F1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00153E
Tritanopia (blue-blind)
#131823
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d093f;
/* rgb */ color: rgb(29, 9, 63);
/* oklch */ color: oklch(21.2% 0.095 293.5);
Tailwind
colors: {
  custom: {
    50: '#5e4a75',
    500: '#1d093f',
    950: '#000000',
  },
}
SCSS
$custom: #1d093f;
$custom-light: #5e4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#1d093f",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 63
  },
  "hsl": {
    "h": 262.222,
    "s": 75,
    "l": 14.118
  },
  "oklch": {
    "l": 0.21245,
    "c": 0.09477,
    "h": 293.5
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#1D093F
secondary
#5D7D27
accent
#F236AC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D093F

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

Preview Lab → · Contrast checker → · Palette generator →

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