#1D1054#1D1054

#1D1054 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.115 H 282.7°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#1D1054
RGBrgb(29, 16, 84)
HSLhsl(251, 68%, 20%)
HSVhsv(251, 81%, 33%)
CMYKcmyk(65.5%, 81%, 0%, 67.1%)
CIE-LABlab(11.08, 27.74, -38.83)
CIE-LCHlch(11.08, 47.72, 305.54°)
OKLaboklab(24.57% 0.0252 -0.1119)
OKLCHoklch(24.57% 0.115 282.7)
XYZxyz(2.2917, 1.2717, 8.5105)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D1054 #475410
analogous
#102554 #1D1054 #3F1054
triadic
#1D1054 #541D10 #10541D
tetradic
#1D1054 #541025 #475410 #10543F
square
#1D1054 #541025 #475410 #10543F
split-complementary
#1D1054 #543F10 #255410
monochromatic
#09051A #0B0621 #1D1054 #2F1A87 #4024BB

Accessibility & contrast

On white

16.74
#1D1054 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D1054
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D1054#FFFFFF#000000##FFFFFF
##1D10541.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002056
Deuteranopia (green-blind)
#001B53
Tritanopia (blue-blind)
#002331
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #1d1054;
/* rgb */ color: rgb(29, 16, 84);
/* oklch */ color: oklch(24.6% 0.115 282.7);
Tailwind
colors: {
  custom: {
    50: '#615085',
    500: '#1d1054',
    950: '#000000',
  },
}
SCSS
$custom: #1d1054;
$custom-light: #615085;
$custom-dark: #000000;
JSON
{
  "hex": "#1d1054",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 84
  },
  "hsl": {
    "h": 251.471,
    "s": 68,
    "l": 19.608
  },
  "oklch": {
    "l": 0.24566,
    "c": 0.11474,
    "h": 282.7
  },
  "luminance": 0.01272
}

Semantic roles & 50–950 ramp

primary
#1D1054
secondary
#7C8E32
accent
#EB3DCA
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1D1054

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

Preview Lab → · Contrast checker → · Palette generator →

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