#1D1056#1D1056

#1D1056 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.117 H 282.1°. Best body text is #FFFFFF at 16.66:1 contrast (WCAG AA passes).

Color values

HEX#1D1056
RGBrgb(29, 16, 86)
HSLhsl(251, 69%, 20%)
HSVhsv(251, 81%, 34%)
CMYKcmyk(66.3%, 81.4%, 0%, 66.3%)
CIE-LABlab(11.30, 28.43, -39.82)
CIE-LCHlch(11.30, 48.93, 305.52°)
OKLaboklab(24.79% 0.0246 -0.1148)
OKLCHoklch(24.79% 0.117 282.1)
XYZxyz(2.3712, 1.3035, 8.9289)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1056 #495610
analogous
#102656 #1D1056 #401056
triadic
#1D1056 #561D10 #10561D
tetradic
#1D1056 #561026 #495610 #105640
square
#1D1056 #561026 #495610 #105640
split-complementary
#1D1056 #564010 #265610
monochromatic
#09051A #0C0622 #1D1056 #2E1A8A #4023BD

Accessibility & contrast

On white

16.66
#1D1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#1D1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1056
16.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1056#FFFFFF#000000##FFFFFF
##1D10561.0016.661.2616.66
#FFFFFF16.661.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002058
Deuteranopia (green-blind)
#001C55
Tritanopia (blue-blind)
#002432
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d1056;
/* rgb */ color: rgb(29, 16, 86);
/* oklch */ color: oklch(24.8% 0.117 282.1);
Tailwind
colors: {
  custom: {
    50: '#625086',
    500: '#1d1056',
    950: '#000000',
  },
}
SCSS
$custom: #1d1056;
$custom-light: #625086;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1056",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 251.143,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.24791,
    "c": 0.11745,
    "h": 282.1
  },
  "luminance": 0.01304
}

Semantic roles & 50–950 ramp

primary
#1D1056
secondary
#7E8F32
accent
#EB3CCB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #1D1056

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

Preview Lab → · Contrast checker → · Palette generator →

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