#1D074E#1D074E

#1D074E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.116 H 287.0°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#1D074E
RGBrgb(29, 7, 78)
HSLhsl(259, 84%, 17%)
HSVhsv(259, 91%, 31%)
CMYKcmyk(62.8%, 91%, 0%, 69.4%)
CIE-LABlab(8.68, 30.67, -38.66)
CIE-LCHlch(8.68, 49.35, 308.43°)
OKLaboklab(22.69% 0.034 -0.1113)
OKLCHoklch(22.69% 0.116 287)
XYZxyz(1.9574, 0.9631, 7.2890)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D074E #384E07
analogous
#07144E #1D074E #41074E
triadic
#1D074E #4E1D07 #074E1D
tetradic
#1D074E #4E0714 #384E07 #074E41
square
#1D074E #4E0714 #384E07 #074E41
split-complementary
#1D074E #4E4107 #144E07
monochromatic
#0A031C #0A031C #1D074E #320C86 #4711BE

Accessibility & contrast

On white

17.61
#1D074E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1D074E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D074E
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D074E#FFFFFF#000000##FFFFFF
##1D074E1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A50
Deuteranopia (green-blind)
#00174D
Tritanopia (blue-blind)
#051D2C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1d074e;
/* rgb */ color: rgb(29, 7, 78);
/* oklch */ color: oklch(22.7% 0.116 287.0);
Tailwind
colors: {
  custom: {
    50: '#614a80',
    500: '#1d074e',
    950: '#000000',
  },
}
SCSS
$custom: #1d074e;
$custom-light: #614a80;
$custom-dark: #000000;
JSON
{
  "hex": "#1d074e",
  "rgb": {
    "r": 29,
    "g": 7,
    "b": 78
  },
  "hsl": {
    "h": 258.592,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.22689,
    "c": 0.11639,
    "h": 287
  },
  "luminance": 0.00963
}

Semantic roles & 50–950 ramp

primary
#1D074E
secondary
#6C8C25
accent
#FA2EBB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05010A
muted
#7A777C

Preview Lab

Preview with #1D074E

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

Preview Lab → · Contrast checker → · Palette generator →

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