#1D0C56#1D0C56

#1D0C56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.3% C 0.122 H 283.1°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#1D0C56
RGBrgb(29, 12, 86)
HSLhsl(254, 76%, 19%)
HSVhsv(254, 86%, 34%)
CMYKcmyk(66.3%, 86%, 0%, 66.3%)
CIE-LABlab(10.53, 30.64, -41.10)
CIE-LCHlch(10.53, 51.26, 306.71°)
OKLaboklab(24.25% 0.0275 -0.1185)
OKLCHoklch(24.25% 0.122 283.1)
XYZxyz(2.3174, 1.1959, 8.9110)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D0C56 #45560C
analogous
#0C2056 #1D0C56 #420C56
triadic
#1D0C56 #561D0C #0C561D
tetradic
#1D0C56 #560C20 #45560C #0C5642
square
#1D0C56 #560C20 #45560C #0C5642
split-complementary
#1D0C56 #56420C #20560C
monochromatic
#09041B #0B0520 #1D0C56 #2F138C #411BC1

Accessibility & contrast

On white

16.95
#1D0C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D0C56
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D0C56#FFFFFF#000000##FFFFFF
##1D0C561.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F58
Deuteranopia (green-blind)
#001A55
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1d0c56;
/* rgb */ color: rgb(29, 12, 86);
/* oklch */ color: oklch(24.3% 0.122 283.1);
Tailwind
colors: {
  custom: {
    50: '#624e87',
    500: '#1d0c56',
    950: '#000000',
  },
}
SCSS
$custom: #1d0c56;
$custom-light: #624e87;
$custom-dark: #000000;
JSON
{
  "hex": "#1d0c56",
  "rgb": {
    "r": 29,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 253.784,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.2425,
    "c": 0.12165,
    "h": 283.1
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#1D0C56
secondary
#7A912D
accent
#F236C7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06010B
muted
#7A777C

Preview Lab

Preview with #1D0C56

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

Preview Lab → · Contrast checker → · Palette generator →

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