#1A072E#1A072E

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

Color values

HEX#1A072E
RGBrgb(26, 7, 46)
HSLhsl(269, 74%, 10%)
HSVhsv(269, 85%, 18%)
CMYKcmyk(43.5%, 84.8%, 0%, 82%)
CIE-LABlab(5.14, 18.27, -21.45)
CIE-LCHlch(5.14, 28.18, 310.41°)
OKLaboklab(18.74% 0.0396 -0.0632)
OKLCHoklch(18.74% 0.075 302.1)
XYZxyz(0.9950, 0.5688, 2.6416)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A072E #1B2E07
analogous
#07072E #1A072E #2D072E
triadic
#1A072E #2E1A07 #072E1A
tetradic
#1A072E #2E0707 #1B2E07 #072E2D
square
#1A072E #2E0707 #1B2E07 #072E2D
split-complementary
#1A072E #2E2D07 #072E07
monochromatic
#0F041B #0F041B #1A072E #380F63 #561798

Accessibility & contrast

On white

18.85
#1A072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A072E
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A072E#FFFFFF#000000##FFFFFF
##1A072E1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a072e;
/* rgb */ color: rgb(26, 7, 46);
/* oklch */ color: oklch(18.7% 0.075 302.1);
Tailwind
colors: {
  custom: {
    50: '#584967',
    500: '#1a072e',
    950: '#000000',
  },
}
SCSS
$custom: #1a072e;
$custom-light: #584967;
$custom-dark: #000000;
JSON
{
  "hex": "#1a072e",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 269.231,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18743,
    "c": 0.0746,
    "h": 302.1
  },
  "luminance": 0.00569
}

Semantic roles & 50–950 ramp

primary
#1A072E
secondary
#496E23
accent
#F03896
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #1A072E

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

Preview Lab → · Contrast checker → · Palette generator →

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