#1D113F#1D113F

#1D113F is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.083 H 290.1°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#1D113F
RGBrgb(29, 17, 63)
HSLhsl(256, 58%, 16%)
HSVhsv(256, 73%, 25%)
CMYKcmyk(54%, 73%, 0%, 75.3%)
CIE-LABlab(9.16, 19.79, -27.33)
CIE-LCHlch(9.16, 33.74, 305.90°)
OKLaboklab(22.54% 0.0286 -0.0782)
OKLCHoklch(22.54% 0.083 290.1)
XYZxyz(1.6041, 1.0209, 4.8142)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D113F #333F11
analogous
#111C3F #1D113F #34113F
triadic
#1D113F #3F1D11 #113F1D
tetradic
#1D113F #3F111C #333F11 #113F34
square
#1D113F #3F111C #333F11 #113F34
split-complementary
#1D113F #3F3411 #1C3F11
monochromatic
#0B0718 #0B0718 #1D113F #331E6F #492B9F

Accessibility & contrast

On white

17.44
#1D113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#1D113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D113F
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D113F#FFFFFF#000000##FFFFFF
##1D113F1.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#00193E
Tritanopia (blue-blind)
#121C26
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d113f;
/* rgb */ color: rgb(29, 17, 63);
/* oklch */ color: oklch(22.5% 0.083 290.1);
Tailwind
colors: {
  custom: {
    50: '#5d4f74',
    500: '#1d113f',
    950: '#000000',
  },
}
SCSS
$custom: #1d113f;
$custom-light: #5d4f74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d113f",
  "rgb": {
    "r": 29,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 255.652,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22541,
    "c": 0.08329,
    "h": 290.1
  },
  "luminance": 0.01021
}

Semantic roles & 50–950 ramp

primary
#1D113F
secondary
#667833
accent
#E147B9
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040208
muted
#79787B

Preview Lab

Preview with #1D113F

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

Preview Lab → · Contrast checker → · Palette generator →

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