#1D102F#1D102F

#1D102F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.060 H 300.7°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#1D102F
RGBrgb(29, 16, 47)
HSLhsl(265, 49%, 12%)
HSVhsv(265, 66%, 18%)
CMYKcmyk(38.3%, 66%, 0%, 81.6%)
CIE-LABlab(7.56, 15.03, -18.32)
CIE-LCHlch(7.56, 23.70, 309.37°)
OKLaboklab(20.94% 0.0307 -0.0518)
OKLCHoklch(20.94% 0.06 300.7)
XYZxyz(1.2050, 0.8370, 2.7869)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D102F #222F10
analogous
#10132F #1D102F #2C102F
triadic
#1D102F #2F1D10 #102F1D
tetradic
#1D102F #2F1013 #222F10 #102F2C
square
#1D102F #2F1013 #222F10 #102F2C
split-complementary
#1D102F #2F2C10 #132F10
monochromatic
#0E0817 #0E0817 #1D102F #39205D #552F8A

Accessibility & contrast

On white

17.99
#1D102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1D102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D102F
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D102F#FFFFFF#000000##FFFFFF
##1D102F1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051730
Deuteranopia (green-blind)
#08162E
Tritanopia (blue-blind)
#19161D
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d102f;
/* rgb */ color: rgb(29, 16, 47);
/* oklch */ color: oklch(20.9% 0.060 300.7);
Tailwind
colors: {
  custom: {
    50: '#5a4e67',
    500: '#1d102f',
    950: '#000000',
  },
}
SCSS
$custom: #1d102f;
$custom-light: #5a4e67;
$custom-dark: #000000;
JSON
{
  "hex": "#1d102f",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 265.161,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.20935,
    "c": 0.0602,
    "h": 300.7
  },
  "luminance": 0.00837
}

Semantic roles & 50–950 ramp

primary
#1D102F
secondary
#526833
accent
#D94F9F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1D102F

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

Preview Lab → · Contrast checker → · Palette generator →

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