#1D0843#1D0843

#1D0843 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.101 H 291.7°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#1D0843
RGBrgb(29, 8, 67)
HSLhsl(261, 79%, 15%)
HSVhsv(261, 88%, 26%)
CMYKcmyk(56.7%, 88.1%, 0%, 73.7%)
CIE-LABlab(7.59, 26.64, -32.75)
CIE-LCHlch(7.59, 42.22, 309.13°)
OKLaboklab(21.54% 0.0375 -0.0941)
OKLCHoklch(21.54% 0.101 291.7)
XYZxyz(1.6064, 0.8401, 5.3866)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0843 #2E4308
analogous
#081043 #1D0843 #3B0843
triadic
#1D0843 #431D08 #08431D
tetradic
#1D0843 #430810 #2E4308 #08433B
square
#1D0843 #430810 #2E4308 #08433B
split-complementary
#1D0843 #433B08 #104308
monochromatic
#0C031B #0C031B #1D0843 #350F7A #4C15B0

Accessibility & contrast

On white

17.98
#1D0843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0843
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0843#FFFFFF#000000##FFFFFF
##1D08431.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#101925
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d0843;
/* rgb */ color: rgb(29, 8, 67);
/* oklch */ color: oklch(21.5% 0.101 291.7);
Tailwind
colors: {
  custom: {
    50: '#5e4a78',
    500: '#1d0843',
    950: '#000000',
  },
}
SCSS
$custom: #1d0843;
$custom-light: #5e4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0843",
  "rgb": {
    "r": 29,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 261.356,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21541,
    "c": 0.1013,
    "h": 291.7
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#1D0843
secondary
#618125
accent
#F533B0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0843

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

Preview Lab → · Contrast checker → · Palette generator →

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