#1D105D#1D105D

#1D105D is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.6% C 0.127 H 280.3°. Best body text is #FFFFFF at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#1D105D
RGBrgb(29, 16, 93)
HSLhsl(250, 71%, 21%)
HSVhsv(250, 83%, 36%)
CMYKcmyk(68.8%, 82.8%, 0%, 63.5%)
CIE-LABlab(12.10, 30.81, -43.23)
CIE-LCHlch(12.10, 53.08, 305.48°)
OKLaboklab(25.59% 0.0226 -0.1248)
OKLCHoklch(25.59% 0.127 280.3)
XYZxyz(2.6671, 1.4219, 10.4877)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D105D #505D10
analogous
#102A5D #1D105D #44105D
triadic
#1D105D #5D1D10 #105D1D
tetradic
#1D105D #5D102A #505D10 #105D44
square
#1D105D #5D102A #505D10 #105D44
split-complementary
#1D105D #5D4410 #2A5D10
monochromatic
#08041A #0D0729 #1D105D #2D1991 #3E22C5

Accessibility & contrast

On white

16.35
#1D105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D105D
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D105D#FFFFFF#000000##FFFFFF
##1D105D1.0016.351.2816.35
#FFFFFF16.351.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225F
Deuteranopia (green-blind)
#001D5C
Tritanopia (blue-blind)
#002736
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d105d;
/* rgb */ color: rgb(29, 16, 93);
/* oklch */ color: oklch(25.6% 0.127 280.3);
Tailwind
colors: {
  custom: {
    50: '#63508c',
    500: '#1d105d',
    950: '#000000',
  },
}
SCSS
$custom: #1d105d;
$custom-light: #63508c;
$custom-dark: #000000;
JSON
{
  "hex": "#1d105d",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 250.13,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.25594,
    "c": 0.1268,
    "h": 280.3
  },
  "luminance": 0.01422
}

Semantic roles & 50–950 ramp

primary
#1D105D
secondary
#859633
accent
#ED3ACF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D105D

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

Preview Lab → · Contrast checker → · Palette generator →

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