#1D0539#1D0539

#1D0539 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.093 H 298.7°. Best body text is #FFFFFF at 18.53:1 contrast (WCAG AA passes).

Color values

HEX#1D0539
RGBrgb(29, 5, 57)
HSLhsl(268, 84%, 12%)
HSVhsv(268, 91%, 22%)
CMYKcmyk(49.1%, 91.2%, 0%, 77.6%)
CIE-LABlab(6.01, 24.69, -28.15)
CIE-LCHlch(6.01, 37.45, 311.25°)
OKLaboklab(19.98% 0.0447 -0.0815)
OKLCHoklch(19.98% 0.093 298.7)
XYZxyz(1.2993, 0.6651, 3.9300)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0539 #213905
analogous
#050739 #1D0539 #370539
triadic
#1D0539 #391D05 #05391D
tetradic
#1D0539 #390507 #213905 #053937
square
#1D0539 #390507 #213905 #053937
split-complementary
#1D0539 #393705 #073905
monochromatic
#0E021C #0E021C #1D0539 #3A0A71 #560FAA

Accessibility & contrast

On white

18.53
#1D0539 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0539
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0539#FFFFFF#000000##FFFFFF
##1D05391.0018.531.1318.53
#FFFFFF18.531.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001338
Tritanopia (blue-blind)
#16131F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d0539;
/* rgb */ color: rgb(29, 5, 57);
/* oklch */ color: oklch(20.0% 0.093 298.7);
Tailwind
colors: {
  custom: {
    50: '#5d4870',
    500: '#1d0539',
    950: '#000000',
  },
}
SCSS
$custom: #1d0539;
$custom-light: #5d4870;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0539",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 57
  },
  "hsl": {
    "h": 267.692,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19976,
    "c": 0.09296,
    "h": 298.7
  },
  "luminance": 0.00665
}

Semantic roles & 50–950 ramp

primary
#1D0539
secondary
#507A20
accent
#FA2E9C
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0539

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

Preview Lab → · Contrast checker → · Palette generator →

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