#1D105A#1D105A

#1D105A is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.2% C 0.123 H 281.0°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#1D105A
RGBrgb(29, 16, 90)
HSLhsl(251, 70%, 21%)
HSVhsv(251, 82%, 35%)
CMYKcmyk(67.8%, 82.2%, 0%, 64.7%)
CIE-LABlab(11.76, 29.79, -41.78)
CIE-LCHlch(11.76, 51.31, 305.49°)
OKLaboklab(25.25% 0.0235 -0.1206)
OKLCHoklch(25.25% 0.123 281)
XYZxyz(2.5369, 1.3698, 9.8016)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D105A #4D5A10
analogous
#10285A #1D105A #42105A
triadic
#1D105A #5A1D10 #105A1D
tetradic
#1D105A #5A1028 #4D5A10 #105A42
square
#1D105A #5A1028 #4D5A10 #105A42
split-complementary
#1D105A #5A4210 #285A10
monochromatic
#08051A #0C0726 #1D105A #2E198E #3E22C2

Accessibility & contrast

On white

16.48
#1D105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#1D105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D105A
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D105A#FFFFFF#000000##FFFFFF
##1D105A1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001C59
Tritanopia (blue-blind)
#002634
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d105a;
/* rgb */ color: rgb(29, 16, 90);
/* oklch */ color: oklch(25.2% 0.123 281.0);
Tailwind
colors: {
  custom: {
    50: '#63508a',
    500: '#1d105a',
    950: '#000000',
  },
}
SCSS
$custom: #1d105a;
$custom-light: #63508a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d105a",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 250.541,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25247,
    "c": 0.12283,
    "h": 281
  },
  "luminance": 0.0137
}

Semantic roles & 50–950 ramp

primary
#1D105A
secondary
#829333
accent
#ED3BCD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D105A

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

Preview Lab → · Contrast checker → · Palette generator →

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