#1D0547#1D0547

#1D0547 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.6% C 0.110 H 290.6°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#1D0547
RGBrgb(29, 5, 71)
HSLhsl(262, 87%, 15%)
HSVhsv(262, 93%, 28%)
CMYKcmyk(59.2%, 93%, 0%, 72.2%)
CIE-LABlab(7.45, 29.64, -35.80)
CIE-LCHlch(7.45, 46.48, 309.62°)
OKLaboklab(21.58% 0.0387 -0.103)
OKLCHoklch(21.58% 0.11 290.6)
XYZxyz(1.6980, 0.8246, 6.0297)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0547 #2F4705
analogous
#050E47 #1D0547 #3E0547
triadic
#1D0547 #471D05 #05471D
tetradic
#1D0547 #47050E #2F4705 #05473E
square
#1D0547 #47050E #2F4705 #05473E
split-complementary
#1D0547 #473E05 #0E4705
monochromatic
#0C021D #0C021D #1D0547 #340980 #4C0DB9

Accessibility & contrast

On white

18.03
#1D0547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1D0547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0547
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0547#FFFFFF#000000##FFFFFF
##1D05471.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001849
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#0D1927
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d0547;
/* rgb */ color: rgb(29, 5, 71);
/* oklch */ color: oklch(21.6% 0.110 290.6);
Tailwind
colors: {
  custom: {
    50: '#60497b',
    500: '#1d0547',
    950: '#000000',
  },
}
SCSS
$custom: #1d0547;
$custom-light: #60497b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0547",
  "rgb": {
    "r": 29,
    "g": 5,
    "b": 71
  },
  "hsl": {
    "h": 261.818,
    "s": 86.842,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21581,
    "c": 0.11006,
    "h": 290.6
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#1D0547
secondary
#628721
accent
#FD2BB1
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0547

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

Preview Lab → · Contrast checker → · Palette generator →

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