#1D034E#1D034E

#1D034E is a very dark, vivid violet. Relative luminance 0.009; OKLCH L 22.2% C 0.121 H 287.9°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#1D034E
RGBrgb(29, 3, 78)
HSLhsl(261, 93%, 16%)
HSVhsv(261, 96%, 31%)
CMYKcmyk(62.8%, 96.2%, 0%, 69.4%)
CIE-LABlab(7.92, 32.95, -39.92)
CIE-LCHlch(7.92, 51.76, 309.53°)
OKLaboklab(22.17% 0.0371 -0.1149)
OKLCHoklch(22.17% 0.121 287.9)
XYZxyz(1.9140, 0.8763, 7.2745)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D034E #344E03
analogous
#030E4E #1D034E #42034E
triadic
#1D034E #4E1D03 #034E1D
tetradic
#1D034E #4E030E #344E03 #034E42
square
#1D034E #4E030E #344E03 #034E42
split-complementary
#1D034E #4E4203 #0E4E03
monochromatic
#0B011D #0B011D #1D034E #330589 #4908C4

Accessibility & contrast

On white

17.87
#1D034E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1D034E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D034E
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D034E#FFFFFF#000000##FFFFFF
##1D034E1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001950
Deuteranopia (green-blind)
#00154D
Tritanopia (blue-blind)
#061B2B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1d034e;
/* rgb */ color: rgb(29, 3, 78);
/* oklch */ color: oklch(22.2% 0.121 287.9);
Tailwind
colors: {
  custom: {
    50: '#614880',
    500: '#1d034e',
    950: '#000000',
  },
}
SCSS
$custom: #1d034e;
$custom-light: #614880;
$custom-dark: #000000;
JSON
{
  "hex": "#1d034e",
  "rgb": {
    "r": 29,
    "g": 3,
    "b": 78
  },
  "hsl": {
    "h": 260.8,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22168,
    "c": 0.12075,
    "h": 287.9
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#1D034E
secondary
#688E1E
accent
#FF29B5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #1D034E

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

Preview Lab → · Contrast checker → · Palette generator →

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