#1D105B#1D105B

#1D105B is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.4% C 0.124 H 280.8°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#1D105B
RGBrgb(29, 16, 91)
HSLhsl(250, 70%, 21%)
HSVhsv(250, 82%, 36%)
CMYKcmyk(68.1%, 82.4%, 0%, 64.3%)
CIE-LABlab(11.87, 30.13, -42.27)
CIE-LCHlch(11.87, 51.91, 305.49°)
OKLaboklab(25.36% 0.0232 -0.122)
OKLCHoklch(25.36% 0.124 280.8)
XYZxyz(2.5797, 1.3869, 10.0273)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D105B #4E5B10
analogous
#10285B #1D105B #42105B
triadic
#1D105B #5B1D10 #105B1D
tetradic
#1D105B #5B1028 #4E5B10 #105B42
square
#1D105B #5B1028 #4E5B10 #105B42
split-complementary
#1D105B #5B4210 #285B10
monochromatic
#08051A #0C0727 #1D105B #2E198F #3E22C3

Accessibility & contrast

On white

16.44
#1D105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#1D105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D105B
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D105B#FFFFFF#000000##FFFFFF
##1D105B1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001C5A
Tritanopia (blue-blind)
#002635
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #1d105b;
/* rgb */ color: rgb(29, 16, 91);
/* oklch */ color: oklch(25.4% 0.124 280.8);
Tailwind
colors: {
  custom: {
    50: '#63508a',
    500: '#1d105b',
    950: '#000000',
  },
}
SCSS
$custom: #1d105b;
$custom-light: #63508a;
$custom-dark: #000000;
JSON
{
  "hex": "#1d105b",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 250.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25362,
    "c": 0.12415,
    "h": 280.8
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#1D105B
secondary
#839433
accent
#ED3BCE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D105B

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

Preview Lab → · Contrast checker → · Palette generator →

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