#1D0541#1D0541

#1D0541 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.103 H 293.7°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#1D0541
RGBrgb(29, 5, 65)
HSLhsl(264, 86%, 14%)
HSVhsv(264, 92%, 25%)
CMYKcmyk(55.4%, 92.3%, 0%, 74.5%)
CIE-LABlab(6.79, 27.61, -32.64)
CIE-LCHlch(6.79, 42.75, 310.22°)
OKLaboklab(20.88% 0.0414 -0.094)
OKLCHoklch(20.88% 0.103 293.7)
XYZxyz(1.5148, 0.7514, 5.0652)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0541 #294105
analogous
#050B41 #1D0541 #3B0541
triadic
#1D0541 #411D05 #05411D
tetradic
#1D0541 #41050B #294105 #05413B
square
#1D0541 #41050B #294105 #05413B
split-complementary
#1D0541 #413B05 #0B4105
monochromatic
#0D021C #0D021C #1D0541 #36097A #500EB3

Accessibility & contrast

On white

18.26
#1D0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1D0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0541
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0541#FFFFFF#000000##FFFFFF
##1D05411.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001643
Deuteranopia (green-blind)
#001440
Tritanopia (blue-blind)
#121623
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d0541;
/* rgb */ color: rgb(29, 5, 65);
/* oklch */ color: oklch(20.9% 0.103 293.7);
Tailwind
colors: {
  custom: {
    50: '#5e4876',
    500: '#1d0541',
    950: '#000000',
  },
}
SCSS
$custom: #1d0541;
$custom-light: #5e4876;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0541",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 264,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.20876,
    "c": 0.10275,
    "h": 293.7
  },
  "luminance": 0.00751
}

Semantic roles & 50–950 ramp

primary
#1D0541
secondary
#5B8120
accent
#FC2CA9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D0541

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

Preview Lab → · Contrast checker → · Palette generator →

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