#1A062E#1A062E

#1A062E is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.6% C 0.077 H 302.6°. Best body text is #FFFFFF at 18.93:1 contrast (WCAG AA passes).

Color values

HEX#1A062E
RGBrgb(26, 6, 46)
HSLhsl(270, 77%, 10%)
HSVhsv(270, 87%, 18%)
CMYKcmyk(43.5%, 87%, 0%, 82%)
CIE-LABlab(4.94, 18.71, -21.77)
CIE-LCHlch(4.94, 28.70, 310.69°)
OKLaboklab(18.55% 0.0412 -0.0645)
OKLCHoklch(18.55% 0.077 302.6)
XYZxyz(0.9842, 0.5471, 2.6380)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A062E #1A2E06
analogous
#06062E #1A062E #2E062E
triadic
#1A062E #2E1A06 #062E1A
tetradic
#1A062E #2E0606 #1A2E06 #062E2E
square
#1A062E #2E0606 #1A2E06 #062E2E
split-complementary
#1A062E #2E2E06 #062E06
monochromatic
#0F041B #0F041B #1A062E #390D64 #57149A

Accessibility & contrast

On white

18.93
#1A062E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A062E
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A062E#FFFFFF#000000##FFFFFF
##1A062E1.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#160F19
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #1a062e;
/* rgb */ color: rgb(26, 6, 46);
/* oklch */ color: oklch(18.6% 0.077 302.6);
Tailwind
colors: {
  custom: {
    50: '#584967',
    500: '#1a062e',
    950: '#000000',
  },
}
SCSS
$custom: #1a062e;
$custom-light: #584967;
$custom-dark: #000000;
JSON
{
  "hex": "#1a062e",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 46
  },
  "hsl": {
    "h": 270,
    "s": 76.923,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18554,
    "c": 0.07653,
    "h": 302.6
  },
  "luminance": 0.00547
}

Semantic roles & 50–950 ramp

primary
#1A062E
secondary
#486F21
accent
#F33494
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #1A062E

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

Preview Lab → · Contrast checker → · Palette generator →

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