#1D105C#1D105C

#1D105C is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.5% C 0.125 H 280.5°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#1D105C
RGBrgb(29, 16, 92)
HSLhsl(250, 70%, 21%)
HSVhsv(250, 83%, 36%)
CMYKcmyk(68.5%, 82.6%, 0%, 63.9%)
CIE-LABlab(11.99, 30.47, -42.75)
CIE-LCHlch(11.99, 52.49, 305.48°)
OKLaboklab(25.48% 0.0229 -0.1234)
OKLCHoklch(25.48% 0.125 280.5)
XYZxyz(2.6231, 1.4043, 10.2560)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D105C #4F5C10
analogous
#10295C #1D105C #43105C
triadic
#1D105C #5C1D10 #105C1D
tetradic
#1D105C #5C1029 #4F5C10 #105C43
square
#1D105C #5C1029 #4F5C10 #105C43
split-complementary
#1D105C #5C4310 #295C10
monochromatic
#08051A #0D0728 #1D105C #2D1990 #3E22C4

Accessibility & contrast

On white

16.40
#1D105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D105C
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D105C#FFFFFF#000000##FFFFFF
##1D105C1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1d105c;
/* rgb */ color: rgb(29, 16, 92);
/* oklch */ color: oklch(25.5% 0.125 280.5);
Tailwind
colors: {
  custom: {
    50: '#63508b',
    500: '#1d105c',
    950: '#000000',
  },
}
SCSS
$custom: #1d105c;
$custom-light: #63508b;
$custom-dark: #000000;
JSON
{
  "hex": "#1d105c",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 250.263,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.25478,
    "c": 0.12548,
    "h": 280.5
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#1D105C
secondary
#849533
accent
#ED3BCF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D105C

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

Preview Lab → · Contrast checker → · Palette generator →

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