#1D0F44#1D0F44

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

Color values

HEX#1D0F44
RGBrgb(29, 15, 68)
HSLhsl(256, 64%, 16%)
HSVhsv(256, 78%, 27%)
CMYKcmyk(57.4%, 77.9%, 0%, 73.3%)
CIE-LABlab(9.16, 22.85, -30.89)
CIE-LCHlch(9.16, 38.42, 306.49°)
OKLaboklab(22.69% 0.0301 -0.0887)
OKLCHoklch(22.69% 0.094 288.8)
XYZxyz(1.7206, 1.0201, 5.5740)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F44 #36440F
analogous
#0F1C44 #1D0F44 #380F44
triadic
#1D0F44 #441D0F #0F441D
tetradic
#1D0F44 #440F1C #36440F #0F4438
square
#1D0F44 #440F1C #36440F #0F4438
split-complementary
#1D0F44 #44380F #1C440F
monochromatic
#0B0619 #0B0619 #1D0F44 #321A76 #4825A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1D0F44#FFFFFF#000000##FFFFFF
##1D0F441.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)
#001B46
Deuteranopia (green-blind)
#001843
Tritanopia (blue-blind)
#0F1D28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0f44;
/* rgb */ color: rgb(29, 15, 68);
/* oklch */ color: oklch(22.7% 0.094 288.8);
Tailwind
colors: {
  custom: {
    50: '#5e4e78',
    500: '#1d0f44',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f44;
$custom-light: #5e4e78;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f44",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 255.849,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22686,
    "c": 0.09364,
    "h": 288.8
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#1D0F44
secondary
#6A7E30
accent
#E741BB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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