#1D0347#1D0347

#1D0347 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.113 H 291.2°. Best body text is #FFFFFF at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#1D0347
RGBrgb(29, 3, 71)
HSLhsl(263, 92%, 15%)
HSVhsv(263, 96%, 28%)
CMYKcmyk(59.2%, 95.8%, 0%, 72.2%)
CIE-LABlab(7.06, 30.77, -36.45)
CIE-LCHlch(7.06, 47.70, 310.17°)
OKLaboklab(21.3% 0.0407 -0.105)
OKLCHoklch(21.3% 0.113 291.2)
XYZxyz(1.6763, 0.7812, 6.0225)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0347 #2D4703
analogous
#030B47 #1D0347 #3F0347
triadic
#1D0347 #471D03 #03471D
tetradic
#1D0347 #47030B #2D4703 #03473F
square
#1D0347 #47030B #2D4703 #03473F
split-complementary
#1D0347 #473F03 #0B4703
monochromatic
#0C011D #0C011D #1D0347 #350582 #4D08BC

Accessibility & contrast

On white

18.16
#1D0347 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1D0347 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D0347
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0347#FFFFFF#000000##FFFFFF
##1D03471.0018.161.1618.16
#FFFFFF18.161.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001749
Deuteranopia (green-blind)
#001446
Tritanopia (blue-blind)
#0D1827
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1d0347;
/* rgb */ color: rgb(29, 3, 71);
/* oklch */ color: oklch(21.3% 0.113 291.2);
Tailwind
colors: {
  custom: {
    50: '#60477b',
    500: '#1d0347',
    950: '#000000',
  },
}
SCSS
$custom: #1d0347;
$custom-light: #60477b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0347",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 71
  },
  "hsl": {
    "h": 262.941,
    "s": 91.892,
    "l": 14.51
  },
  "oklch": {
    "l": 0.21296,
    "c": 0.11259,
    "h": 291.2
  },
  "luminance": 0.00781
}

Semantic roles & 50–950 ramp

primary
#1D0347
secondary
#5F881E
accent
#FF29AD
background
#F5F4F7
surface
#EAE6EE
border
#C6C2C9
text
#050009
muted
#79777B

Preview Lab

Preview with #1D0347

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

Preview Lab → · Contrast checker → · Palette generator →

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