#1D0847#1D0847

#1D0847 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.106 H 289.8°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#1D0847
RGBrgb(29, 8, 71)
HSLhsl(260, 80%, 15%)
HSVhsv(260, 89%, 28%)
CMYKcmyk(59.2%, 88.7%, 0%, 72.2%)
CIE-LABlab(8.04, 27.93, -34.84)
CIE-LCHlch(8.04, 44.65, 308.72°)
OKLaboklab(22% 0.036 -0.1002)
OKLCHoklch(22% 0.106 289.8)
XYZxyz(1.7305, 0.8897, 6.0406)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0847 #324708
analogous
#081247 #1D0847 #3C0847
triadic
#1D0847 #471D08 #08471D
tetradic
#1D0847 #470812 #324708 #08473C
square
#1D0847 #470812 #324708 #08473C
split-complementary
#1D0847 #473C08 #124708
monochromatic
#0B031C #0B031C #1D0847 #330E7E #4A14B5

Accessibility & contrast

On white

17.83
#1D0847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1D0847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0847
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0847#FFFFFF#000000##FFFFFF
##1D08471.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#0D1A28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1d0847;
/* rgb */ color: rgb(29, 8, 71);
/* oklch */ color: oklch(22.0% 0.106 289.8);
Tailwind
colors: {
  custom: {
    50: '#5f4a7b',
    500: '#1d0847',
    950: '#000000',
  },
}
SCSS
$custom: #1d0847;
$custom-light: #5f4a7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0847",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 71
  },
  "hsl": {
    "h": 260,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21996,
    "c": 0.10644,
    "h": 289.8
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#1D0847
secondary
#658526
accent
#F632B5
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0847

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

Preview Lab → · Contrast checker → · Palette generator →

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