#1D0538#1D0538

#1D0538 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.092 H 299.4°. Best body text is #FFFFFF at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#1D0538
RGBrgb(29, 5, 56)
HSLhsl(268, 84%, 12%)
HSVhsv(268, 91%, 22%)
CMYKcmyk(48.2%, 91.1%, 0%, 78%)
CIE-LABlab(5.92, 24.31, -27.57)
CIE-LCHlch(5.92, 36.75, 311.41°)
OKLaboklab(19.87% 0.045 -0.0799)
OKLCHoklch(19.87% 0.092 299.4)
XYZxyz(1.2746, 0.6553, 3.7999)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0538 #203805
analogous
#050738 #1D0538 #370538
triadic
#1D0538 #381D05 #05381D
tetradic
#1D0538 #380507 #203805 #053837
square
#1D0538 #380507 #203805 #053837
split-complementary
#1D0538 #383705 #073805
monochromatic
#0F031C #0F031C #1D0538 #3A0A70 #570FA8

Accessibility & contrast

On white

18.57
#1D0538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0538
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0538#FFFFFF#000000##FFFFFF
##1D05381.0018.571.1318.57
#FFFFFF18.571.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001339
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#16131E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #1d0538;
/* rgb */ color: rgb(29, 5, 56);
/* oklch */ color: oklch(19.9% 0.092 299.4);
Tailwind
colors: {
  custom: {
    50: '#5c486f',
    500: '#1d0538',
    950: '#000000',
  },
}
SCSS
$custom: #1d0538;
$custom-light: #5c486f;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0538",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 56
  },
  "hsl": {
    "h": 268.235,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19868,
    "c": 0.09173,
    "h": 299.4
  },
  "luminance": 0.00655
}

Semantic roles & 50–950 ramp

primary
#1D0538
secondary
#4F7920
accent
#FA2E9A
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #1D0538

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

Preview Lab → · Contrast checker → · Palette generator →

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