#1D063D#1D063D

#1D063D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.6% C 0.096 H 295.7°. Best body text is #FFFFFF at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#1D063D
RGBrgb(29, 6, 61)
HSLhsl(265, 82%, 13%)
HSVhsv(265, 90%, 24%)
CMYKcmyk(52.5%, 90.2%, 0%, 76.1%)
CIE-LABlab(6.58, 25.65, -30.12)
CIE-LCHlch(6.58, 39.56, 310.42°)
OKLaboklab(20.58% 0.0419 -0.0868)
OKLCHoklch(20.58% 0.096 295.7)
XYZxyz(1.4139, 0.7283, 4.4801)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D063D #263D06
analogous
#060A3D #1D063D #38063D
triadic
#1D063D #3D1D06 #063D1D
tetradic
#1D063D #3D060A #263D06 #063D38
square
#1D063D #3D060A #263D06 #063D38
split-complementary
#1D063D #3D3806 #0A3D06
monochromatic
#0D031C #0D031C #1D063D #370B75 #5211AC

Accessibility & contrast

On white

18.33
#1D063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1D063D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1D063D
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D063D#FFFFFF#000000##FFFFFF
##1D063D1.0018.331.1518.33
#FFFFFF18.331.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153F
Deuteranopia (green-blind)
#00143C
Tritanopia (blue-blind)
#141521
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d063d;
/* rgb */ color: rgb(29, 6, 61);
/* oklch */ color: oklch(20.6% 0.096 295.7);
Tailwind
colors: {
  custom: {
    50: '#5d4973',
    500: '#1d063d',
    950: '#000000',
  },
}
SCSS
$custom: #1d063d;
$custom-light: #5d4973;
$custom-dark: #000000;
JSON
{
  "hex": "#1d063d",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 265.091,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.20576,
    "c": 0.09638,
    "h": 295.7
  },
  "luminance": 0.00728
}

Semantic roles & 50–950 ramp

primary
#1D063D
secondary
#577D22
accent
#F82FA4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D063D

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

Preview Lab → · Contrast checker → · Palette generator →

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