#1D063A#1D063A

#1D063A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.093 H 297.6°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#1D063A
RGBrgb(29, 6, 58)
HSLhsl(267, 81%, 13%)
HSVhsv(267, 90%, 23%)
CMYKcmyk(50%, 89.7%, 0%, 77.3%)
CIE-LABlab(6.29, 24.55, -28.41)
CIE-LCHlch(6.29, 37.55, 310.83°)
OKLaboklab(20.25% 0.043 -0.082)
OKLCHoklch(20.25% 0.093 297.6)
XYZxyz(1.3353, 0.6969, 4.0663)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D063A #233A06
analogous
#06093A #1D063A #37063A
triadic
#1D063A #3A1D06 #063A1D
tetradic
#1D063A #3A0609 #233A06 #063A37
square
#1D063A #3A0609 #233A06 #063A37
split-complementary
#1D063A #3A3706 #093A06
monochromatic
#0E031C #0E031C #1D063A #390C71 #5411A9

Accessibility & contrast

On white

18.43
#1D063A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1D063A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D063A
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D063A#FFFFFF#000000##FFFFFF
##1D063A1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#151420
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d063a;
/* rgb */ color: rgb(29, 6, 58);
/* oklch */ color: oklch(20.2% 0.093 297.6);
Tailwind
colors: {
  custom: {
    50: '#5d4971',
    500: '#1d063a',
    950: '#000000',
  },
}
SCSS
$custom: #1d063a;
$custom-light: #5d4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1d063a",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 58
  },
  "hsl": {
    "h": 266.538,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20247,
    "c": 0.0926,
    "h": 297.6
  },
  "luminance": 0.00697
}

Semantic roles & 50–950 ramp

primary
#1D063A
secondary
#537A22
accent
#F8309F
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1D063A

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

Preview Lab → · Contrast checker → · Palette generator →

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