#1D1052#1D1052

#1D1052 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.112 H 283.3°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#1D1052
RGBrgb(29, 16, 82)
HSLhsl(252, 67%, 19%)
HSVhsv(252, 80%, 32%)
CMYKcmyk(64.6%, 80.5%, 0%, 67.8%)
CIE-LABlab(10.86, 27.05, -37.83)
CIE-LCHlch(10.86, 46.50, 305.57°)
OKLaboklab(24.34% 0.0258 -0.109)
OKLCHoklch(24.34% 0.112 283.3)
XYZxyz(2.2145, 1.2408, 8.1038)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1052 #455210
analogous
#102452 #1D1052 #3E1052
triadic
#1D1052 #521D10 #10521D
tetradic
#1D1052 #521024 #455210 #10523E
square
#1D1052 #521024 #455210 #10523E
split-complementary
#1D1052 #523E10 #245210
monochromatic
#09051A #0B061F #1D1052 #2F1A85 #4124B8

Accessibility & contrast

On white

16.82
#1D1052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1D1052 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D1052
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1052#FFFFFF#000000##FFFFFF
##1D10521.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F54
Deuteranopia (green-blind)
#001B51
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1d1052;
/* rgb */ color: rgb(29, 16, 82);
/* oklch */ color: oklch(24.3% 0.112 283.3);
Tailwind
colors: {
  custom: {
    50: '#615083',
    500: '#1d1052',
    950: '#000000',
  },
}
SCSS
$custom: #1d1052;
$custom-light: #615083;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1052",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 251.818,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.24343,
    "c": 0.112,
    "h": 283.3
  },
  "luminance": 0.01241
}

Semantic roles & 50–950 ramp

primary
#1D1052
secondary
#7A8C32
accent
#EA3EC8
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1D1052

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

Preview Lab → · Contrast checker → · Palette generator →

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