#1A063F#1A063F

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

Color values

HEX#1A063F
RGBrgb(26, 6, 63)
HSLhsl(261, 83%, 14%)
HSVhsv(261, 90%, 25%)
CMYKcmyk(58.7%, 90.5%, 0%, 75.3%)
CIE-LABlab(6.40, 25.66, -31.86)
CIE-LCHlch(6.40, 40.91, 308.85°)
OKLaboklab(20.41% 0.0355 -0.0922)
OKLCHoklch(20.41% 0.099 291.1)
XYZxyz(1.3881, 0.7087, 4.7653)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A063F #2B3F06
analogous
#060E3F #1A063F #36063F
triadic
#1A063F #3F1A06 #063F1A
tetradic
#1A063F #3F060E #2B3F06 #063F36
square
#1A063F #3F060E #2B3F06 #063F36
split-complementary
#1A063F #3F3606 #0E3F06
monochromatic
#0C031C #0C031C #1A063F #310B77 #4811AF

Accessibility & contrast

On white

18.39
#1A063F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A063F
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A063F#FFFFFF#000000##FFFFFF
##1A063F1.0018.391.1418.39
#FFFFFF18.391.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001541
Deuteranopia (green-blind)
#00133E
Tritanopia (blue-blind)
#0D1623
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a063f;
/* rgb */ color: rgb(26, 6, 63);
/* oklch */ color: oklch(20.4% 0.099 291.1);
Tailwind
colors: {
  custom: {
    50: '#5c4875',
    500: '#1a063f',
    950: '#000000',
  },
}
SCSS
$custom: #1a063f;
$custom-light: #5c4875;
$custom-dark: #000000;
JSON
{
  "hex": "#1a063f",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 63
  },
  "hsl": {
    "h": 261.053,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20406,
    "c": 0.09877,
    "h": 291.1
  },
  "luminance": 0.00709
}

Semantic roles & 50–950 ramp

primary
#1A063F
secondary
#5E7F22
accent
#F92FB2
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A063F

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

Preview Lab → · Contrast checker → · Palette generator →

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