#1A062F#1A062F

#1A062F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.078 H 301.7°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#1A062F
RGBrgb(26, 6, 47)
HSLhsl(269, 77%, 10%)
HSVhsv(269, 87%, 18%)
CMYKcmyk(44.7%, 87.2%, 0%, 81.6%)
CIE-LABlab(5.01, 19.13, -22.40)
CIE-LCHlch(5.01, 29.46, 310.50°)
OKLaboklab(18.66% 0.041 -0.0662)
OKLCHoklch(18.66% 0.078 301.7)
XYZxyz(1.0041, 0.5551, 2.7430)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A062F #1B2F06
analogous
#06072F #1A062F #2E062F
triadic
#1A062F #2F1A06 #062F1A
tetradic
#1A062F #2F0607 #1B2F06 #062F2E
square
#1A062F #2F0607 #1B2F06 #062F2E
split-complementary
#1A062F #2F2E06 #072F06
monochromatic
#0F031B #0F031B #1A062F #380D65 #56149C

Accessibility & contrast

On white

18.90
#1A062F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#1A062F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A062F
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A062F#FFFFFF#000000##FFFFFF
##1A062F1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#151019
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1a062f;
/* rgb */ color: rgb(26, 6, 47);
/* oklch */ color: oklch(18.7% 0.078 301.7);
Tailwind
colors: {
  custom: {
    50: '#584968',
    500: '#1a062f',
    950: '#000000',
  },
}
SCSS
$custom: #1a062f;
$custom-light: #584968;
$custom-dark: #000000;
JSON
{
  "hex": "#1a062f",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 47
  },
  "hsl": {
    "h": 269.268,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18655,
    "c": 0.07786,
    "h": 301.7
  },
  "luminance": 0.00555
}

Semantic roles & 50–950 ramp

primary
#1A062F
secondary
#497021
accent
#F43496
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1A062F

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

Preview Lab → · Contrast checker → · Palette generator →

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