#1D063C#1D063C

#1D063C is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.5% C 0.095 H 296.4°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#1D063C
RGBrgb(29, 6, 60)
HSLhsl(266, 82%, 13%)
HSVhsv(266, 90%, 24%)
CMYKcmyk(51.7%, 90%, 0%, 76.5%)
CIE-LABlab(6.48, 25.28, -29.55)
CIE-LCHlch(6.48, 38.89, 310.55°)
OKLaboklab(20.47% 0.0422 -0.0852)
OKLCHoklch(20.47% 0.095 296.4)
XYZxyz(1.3872, 0.7177, 4.3395)
Luminance0.0072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1D063C #253C06
analogous
#060A3C #1D063C #38063C
triadic
#1D063C #3C1D06 #063C1D
tetradic
#1D063C #3C060A #253C06 #063C38
square
#1D063C #3C060A #253C06 #063C38
split-complementary
#1D063C #3C3806 #0A3C06
monochromatic
#0D031C #0D031C #1D063C #380C74 #5311AB

Accessibility & contrast

On white

18.36
#1D063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1D063C
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1D063C#FFFFFF#000000##FFFFFF
##1D063C1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00143B
Tritanopia (blue-blind)
#141521
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1d063c;
/* rgb */ color: rgb(29, 6, 60);
/* oklch */ color: oklch(20.5% 0.095 296.4);
Tailwind
colors: {
  custom: {
    50: '#5d4972',
    500: '#1d063c',
    950: '#000000',
  },
}
SCSS
$custom: #1d063c;
$custom-light: #5d4972;
$custom-dark: #000000;
JSON
{
  "hex": "#1d063c",
  "rgb": {
    "r": 29,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 265.556,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20466,
    "c": 0.09512,
    "h": 296.4
  },
  "luminance": 0.00718
}

Semantic roles & 50–950 ramp

primary
#1D063C
secondary
#567C22
accent
#F830A3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1D063C

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

Preview Lab → · Contrast checker → · Palette generator →

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