#1D0F45#1D0F45

#1D0F45 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.095 H 288.3°. Best body text is #FFFFFF at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#1D0F45
RGBrgb(29, 15, 69)
HSLhsl(256, 64%, 16%)
HSVhsv(256, 78%, 27%)
CMYKcmyk(58%, 78.3%, 0%, 72.9%)
CIE-LABlab(9.26, 23.19, -31.43)
CIE-LCHlch(9.26, 39.06, 306.43°)
OKLaboklab(22.79% 0.0299 -0.0902)
OKLCHoklch(22.79% 0.095 288.3)
XYZxyz(1.7514, 1.0324, 5.7361)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0F45 #37450F
analogous
#0F1C45 #1D0F45 #380F45
triadic
#1D0F45 #451D0F #0F451D
tetradic
#1D0F45 #450F1C #37450F #0F4538
square
#1D0F45 #450F1C #37450F #0F4538
split-complementary
#1D0F45 #45380F #1C450F
monochromatic
#0B0519 #0B0519 #1D0F45 #321A77 #4725AA

Accessibility & contrast

On white

17.40
#1D0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1D0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0F45
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0F45#FFFFFF#000000##FFFFFF
##1D0F451.0017.401.2117.40
#FFFFFF17.401.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B47
Deuteranopia (green-blind)
#001944
Tritanopia (blue-blind)
#0E1D28
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1d0f45;
/* rgb */ color: rgb(29, 15, 69);
/* oklch */ color: oklch(22.8% 0.095 288.3);
Tailwind
colors: {
  custom: {
    50: '#5e4e79',
    500: '#1d0f45',
    950: '#000000',
  },
}
SCSS
$custom: #1d0f45;
$custom-light: #5e4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0f45",
  "rgb": {
    "r": 29,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 255.556,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.2279,
    "c": 0.09508,
    "h": 288.3
  },
  "luminance": 0.01033
}

Semantic roles & 50–950 ramp

primary
#1D0F45
secondary
#6B7F30
accent
#E741BC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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