#1D063F#1D063F

#1D063F is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.099 H 294.6°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#1D063F
RGBrgb(29, 6, 63)
HSLhsl(264, 83%, 14%)
HSVhsv(264, 90%, 25%)
CMYKcmyk(54%, 90.5%, 0%, 75.3%)
CIE-LABlab(6.78, 26.36, -31.23)
CIE-LCHlch(6.78, 40.87, 310.17°)
OKLaboklab(20.8% 0.0411 -0.0899)
OKLCHoklch(20.8% 0.099 294.6)
XYZxyz(1.4688, 0.7503, 4.7691)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D063F #283F06
analogous
#060B3F #1D063F #39063F
triadic
#1D063F #3F1D06 #063F1D
tetradic
#1D063F #3F060B #283F06 #063F39
square
#1D063F #3F060B #283F06 #063F39
split-complementary
#1D063F #3F3906 #0B3F06
monochromatic
#0D031C #0D031C #1D063F #370B77 #5011AF

Accessibility & contrast

On white

18.26
#1D063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D063F
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D063F#FFFFFF#000000##FFFFFF
##1D063F1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00143E
Tritanopia (blue-blind)
#131623
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1d063f;
/* rgb */ color: rgb(29, 6, 63);
/* oklch */ color: oklch(20.8% 0.099 294.6);
Tailwind
colors: {
  custom: {
    50: '#5e4975',
    500: '#1d063f',
    950: '#000000',
  },
}
SCSS
$custom: #1d063f;
$custom-light: #5e4975;
$custom-dark: #000000;
JSON
{
  "hex": "#1d063f",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 264.211,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20799,
    "c": 0.09888,
    "h": 294.6
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#1D063F
secondary
#597F22
accent
#F92FA7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #1D063F

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

Preview Lab → · Contrast checker → · Palette generator →

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