#1A063C#1A063C

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

Color values

HEX#1A063C
RGBrgb(26, 6, 60)
HSLhsl(262, 82%, 13%)
HSVhsv(262, 90%, 24%)
CMYKcmyk(56.7%, 90%, 0%, 76.5%)
CIE-LABlab(6.11, 24.48, -30.18)
CIE-LCHlch(6.11, 38.86, 309.05°)
OKLaboklab(20.06% 0.0367 -0.0875)
OKLCHoklch(20.06% 0.095 292.7)
XYZxyz(1.3065, 0.6761, 4.3357)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A063C #283C06
analogous
#060D3C #1A063C #35063C
triadic
#1A063C #3C1A06 #063C1A
tetradic
#1A063C #3C060D #283C06 #063C35
square
#1A063C #3C060D #283C06 #063C35
split-complementary
#1A063C #3C3506 #0D3C06
monochromatic
#0C031C #0C031C #1A063C #320C74 #4A11AB

Accessibility & contrast

On white

18.50
#1A063C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A063C
18.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A063C#FFFFFF#000000##FFFFFF
##1A063C1.0018.501.1418.50
#FFFFFF18.501.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143D
Deuteranopia (green-blind)
#00123B
Tritanopia (blue-blind)
#0F1521
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a063c;
/* rgb */ color: rgb(26, 6, 60);
/* oklch */ color: oklch(20.1% 0.095 292.7);
Tailwind
colors: {
  custom: {
    50: '#5b4872',
    500: '#1a063c',
    950: '#000000',
  },
}
SCSS
$custom: #1a063c;
$custom-light: #5b4872;
$custom-dark: #000000;
JSON
{
  "hex": "#1a063c",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 60
  },
  "hsl": {
    "h": 262.222,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2006,
    "c": 0.0949,
    "h": 292.7
  },
  "luminance": 0.00676
}

Semantic roles & 50–950 ramp

primary
#1A063C
secondary
#5B7C22
accent
#F830AE
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #1A063C

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

Preview Lab → · Contrast checker → · Palette generator →

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