#1D0F3E#1D0F3E

#1D0F3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.085 H 291.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#1D0F3E
RGBrgb(29, 15, 62)
HSLhsl(258, 61%, 15%)
HSVhsv(258, 76%, 24%)
CMYKcmyk(53.2%, 75.8%, 0%, 75.7%)
CIE-LABlab(8.57, 20.79, -27.58)
CIE-LCHlch(8.57, 34.54, 307.01°)
OKLaboklab(22.09% 0.0313 -0.079)
OKLCHoklch(22.09% 0.085 291.6)
XYZxyz(1.5468, 0.9506, 4.6585)
Luminance0.0095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F3E #303E0F
analogous
#0F193E #1D0F3E #340F3E
triadic
#1D0F3E #3E1D0F #0F3E1D
tetradic
#1D0F3E #3E0F19 #303E0F #0F3E34
square
#1D0F3E #3E0F19 #303E0F #0F3E34
split-complementary
#1D0F3E #3E340F #193E0F
monochromatic
#0C0619 #0C0619 #1D0F3E #341B6F #4B27A1

Accessibility & contrast

On white

17.64
#1D0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0F3E
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F3E#FFFFFF#000000##FFFFFF
##1D0F3E1.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00183D
Tritanopia (blue-blind)
#131A24
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d0f3e;
/* rgb */ color: rgb(29, 15, 62);
/* oklch */ color: oklch(22.1% 0.085 291.6);
Tailwind
colors: {
  custom: {
    50: '#5d4e74',
    500: '#1d0f3e',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f3e;
$custom-light: #5d4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f3e",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 62
  },
  "hsl": {
    "h": 257.872,
    "s": 61.039,
    "l": 15.098
  },
  "oklch": {
    "l": 0.22085,
    "c": 0.08492,
    "h": 291.6
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#1D0F3E
secondary
#637830
accent
#E444B4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D0F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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