#1D094B#1D094B

#1D094B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.110 H 287.7°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#1D094B
RGBrgb(29, 9, 75)
HSLhsl(258, 79%, 16%)
HSVhsv(258, 88%, 29%)
CMYKcmyk(61.3%, 88%, 0%, 70.6%)
CIE-LABlab(8.69, 28.64, -36.55)
CIE-LCHlch(8.69, 46.44, 308.08°)
OKLaboklab(22.59% 0.0336 -0.1052)
OKLCHoklch(22.59% 0.11 287.7)
XYZxyz(1.8740, 0.9645, 6.7427)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D094B #374B09
analogous
#09164B #1D094B #3E094B
triadic
#1D094B #4B1D09 #094B1D
tetradic
#1D094B #4B0916 #374B09 #094B3E
square
#1D094B #4B0916 #374B09 #094B3E
split-complementary
#1D094B #4B3E09 #164B09
monochromatic
#0B031B #0B031B #1D094B #321082 #4716B8

Accessibility & contrast

On white

17.60
#1D094B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1D094B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D094B
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D094B#FFFFFF#000000##FFFFFF
##1D094B1.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4D
Deuteranopia (green-blind)
#00174A
Tritanopia (blue-blind)
#091D2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d094b;
/* rgb */ color: rgb(29, 9, 75);
/* oklch */ color: oklch(22.6% 0.110 287.7);
Tailwind
colors: {
  custom: {
    50: '#604b7e',
    500: '#1d094b',
    950: '#000000',
  },
}
SCSS
$custom: #1d094b;
$custom-light: #604b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1d094b",
  "rgb": {
    "r": 29,
    "g": 9,
    "b": 75
  },
  "hsl": {
    "h": 258.182,
    "s": 78.571,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2259,
    "c": 0.11045,
    "h": 287.7
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#1D094B
secondary
#6B8828
accent
#F533BA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1D094B

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

Preview Lab → · Contrast checker → · Palette generator →

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