#1D0535#1D0535

#1D0535 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.088 H 301.6°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#1D0535
RGBrgb(29, 5, 53)
HSLhsl(270, 83%, 11%)
HSVhsv(270, 91%, 21%)
CMYKcmyk(45.3%, 90.6%, 0%, 79.2%)
CIE-LABlab(5.66, 23.17, -25.79)
CIE-LCHlch(5.66, 34.66, 311.94°)
OKLaboklab(19.55% 0.0461 -0.075)
OKLCHoklch(19.55% 0.088 301.6)
XYZxyz(1.2034, 0.6268, 3.4251)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0535 #1D3505
analogous
#050535 #1D0535 #350535
triadic
#1D0535 #351D05 #05351D
tetradic
#1D0535 #350505 #1D3505 #053535
square
#1D0535 #350505 #1D3505 #053535
split-complementary
#1D0535 #353505 #053505
monochromatic
#0F031C #0F031C #1D0535 #3C0A6D #5A10A5

Accessibility & contrast

On white

18.66
#1D0535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#1D0535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0535
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0535#FFFFFF#000000##FFFFFF
##1D05351.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001236
Deuteranopia (green-blind)
#001234
Tritanopia (blue-blind)
#18111C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1d0535;
/* rgb */ color: rgb(29, 5, 53);
/* oklch */ color: oklch(19.5% 0.088 301.6);
Tailwind
colors: {
  custom: {
    50: '#5c486d',
    500: '#1d0535',
    950: '#000000',
  },
}
SCSS
$custom: #1d0535;
$custom-light: #5c486d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0535",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 53
  },
  "hsl": {
    "h": 270,
    "s": 82.759,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19547,
    "c": 0.08804,
    "h": 301.6
  },
  "luminance": 0.00627
}

Semantic roles & 50–950 ramp

primary
#1D0535
secondary
#4B7620
accent
#F92F94
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0535

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

Preview Lab → · Contrast checker → · Palette generator →

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