#1D0746#1D0746

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

Color values

HEX#1D0746
RGBrgb(29, 7, 70)
HSLhsl(261, 82%, 15%)
HSVhsv(261, 90%, 27%)
CMYKcmyk(58.6%, 90%, 0%, 72.5%)
CIE-LABlab(7.73, 28.18, -34.64)
CIE-LCHlch(7.73, 44.66, 309.12°)
OKLaboklab(21.74% 0.0373 -0.0996)
OKLCHoklch(21.74% 0.106 290.5)
XYZxyz(1.6878, 0.8553, 5.8693)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0746 #304607
analogous
#071146 #1D0746 #3C0746
triadic
#1D0746 #461D07 #07461D
tetradic
#1D0746 #460711 #304607 #07463C
square
#1D0746 #460711 #304607 #07463C
split-complementary
#1D0746 #463C07 #114607
monochromatic
#0C031C #0C031C #1D0746 #340D7E #4B12B5

Accessibility & contrast

On white

17.93
#1D0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0746
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0746#FFFFFF#000000##FFFFFF
##1D07461.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#0E1A27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d0746;
/* rgb */ color: rgb(29, 7, 70);
/* oklch */ color: oklch(21.7% 0.106 290.5);
Tailwind
colors: {
  custom: {
    50: '#5f4a7a',
    500: '#1d0746',
    950: '#000000',
  },
}
SCSS
$custom: #1d0746;
$custom-light: #5f4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0746",
  "rgb": {
    "r": 29,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 260.952,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21743,
    "c": 0.10637,
    "h": 290.5
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#1D0746
secondary
#638524
accent
#F830B2
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1D0746

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

Preview Lab → · Contrast checker → · Palette generator →

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