#1D105E#1D105E

#1D105E is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.7% C 0.128 H 280.0°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#1D105E
RGBrgb(29, 16, 94)
HSLhsl(250, 71%, 22%)
HSVhsv(250, 83%, 37%)
CMYKcmyk(69.1%, 83%, 0%, 63.1%)
CIE-LABlab(12.22, 31.15, -43.70)
CIE-LCHlch(12.22, 53.67, 305.48°)
OKLaboklab(25.71% 0.0223 -0.1262)
OKLCHoklch(25.71% 0.128 280)
XYZxyz(2.7117, 1.4397, 10.7225)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D105E #515E10
analogous
#102A5E #1D105E #44105E
triadic
#1D105E #5E1D10 #105E1D
tetradic
#1D105E #5E102A #515E10 #105E44
square
#1D105E #5E102A #515E10 #105E44
split-complementary
#1D105E #5E4410 #2A5E10
monochromatic
#08041A #0D072A #1D105E #2D1992 #3D22C7

Accessibility & contrast

On white

16.30
#1D105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#1D105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D105E
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D105E#FFFFFF#000000##FFFFFF
##1D105E1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001D5D
Tritanopia (blue-blind)
#002737
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #1d105e;
/* rgb */ color: rgb(29, 16, 94);
/* oklch */ color: oklch(25.7% 0.128 280.0);
Tailwind
colors: {
  custom: {
    50: '#64508d',
    500: '#1d105e',
    950: '#000000',
  },
}
SCSS
$custom: #1d105e;
$custom-light: #64508d;
$custom-dark: #000000;
JSON
{
  "hex": "#1d105e",
  "rgb": {
    "r": 29,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 250,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2571,
    "c": 0.12811,
    "h": 280
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#1D105E
secondary
#869733
accent
#EE3AD0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1D105E

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

Preview Lab → · Contrast checker → · Palette generator →

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