#1D1050#1D1050

#1D1050 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.1% C 0.109 H 283.9°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#1D1050
RGBrgb(29, 16, 80)
HSLhsl(252, 67%, 19%)
HSVhsv(252, 80%, 31%)
CMYKcmyk(63.7%, 80%, 0%, 68.6%)
CIE-LABlab(10.64, 26.36, -36.81)
CIE-LCHlch(10.64, 45.28, 305.61°)
OKLaboklab(24.12% 0.0263 -0.106)
OKLCHoklch(24.12% 0.109 283.9)
XYZxyz(2.1395, 1.2108, 7.7088)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1050 #435010
analogous
#102350 #1D1050 #3D1050
triadic
#1D1050 #501D10 #10501D
tetradic
#1D1050 #501023 #435010 #10503D
square
#1D1050 #501023 #435010 #10503D
split-complementary
#1D1050 #503D10 #235010
monochromatic
#09051A #0B061D #1D1050 #2F1A83 #4224B6

Accessibility & contrast

On white

16.91
#1D1050 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#1D1050 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1050
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1050#FFFFFF#000000##FFFFFF
##1D10501.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F52
Deuteranopia (green-blind)
#001B4F
Tritanopia (blue-blind)
#02222F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1d1050;
/* rgb */ color: rgb(29, 16, 80);
/* oklch */ color: oklch(24.1% 0.109 283.9);
Tailwind
colors: {
  custom: {
    50: '#605082',
    500: '#1d1050',
    950: '#000000',
  },
}
SCSS
$custom: #1d1050;
$custom-light: #605082;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1050",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 80
  },
  "hsl": {
    "h": 252.188,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24122,
    "c": 0.10925,
    "h": 283.9
  },
  "luminance": 0.01211
}

Semantic roles & 50–950 ramp

primary
#1D1050
secondary
#788A32
accent
#EA3EC7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020A
muted
#7A787C

Preview Lab

Preview with #1D1050

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

Preview Lab → · Contrast checker → · Palette generator →

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