#1A073A#1A073A

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

Color values

HEX#1A073A
RGBrgb(26, 7, 58)
HSLhsl(262, 78%, 13%)
HSVhsv(262, 88%, 23%)
CMYKcmyk(55.2%, 87.9%, 0%, 77.3%)
CIE-LABlab(6.12, 23.18, -28.72)
CIE-LCHlch(6.12, 36.91, 308.91°)
OKLaboklab(20% 0.0362 -0.0832)
OKLCHoklch(20% 0.091 293.5)
XYZxyz(1.2655, 0.6770, 4.0662)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A073A #273A07
analogous
#070D3A #1A073A #33073A
triadic
#1A073A #3A1A07 #073A1A
tetradic
#1A073A #3A070D #273A07 #073A33
square
#1A073A #3A070D #273A07 #073A33
split-complementary
#1A073A #3A3307 #0D3A07
monochromatic
#0C031B #0C031B #1A073A #320E71 #4B14A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A073A#FFFFFF#000000##FFFFFF
##1A073A1.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)
#00143B
Deuteranopia (green-blind)
#001339
Tritanopia (blue-blind)
#101520
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a073a;
/* rgb */ color: rgb(26, 7, 58);
/* oklch */ color: oklch(20.0% 0.091 293.5);
Tailwind
colors: {
  custom: {
    50: '#5b4971',
    500: '#1a073a',
    950: '#000000',
  },
}
SCSS
$custom: #1a073a;
$custom-light: #5b4971;
$custom-dark: #000000;
JSON
{
  "hex": "#1a073a",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 262.353,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19999,
    "c": 0.09078,
    "h": 293.5
  },
  "luminance": 0.00677
}

Semantic roles & 50–950 ramp

primary
#1A073A
secondary
#597923
accent
#F533AD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1A073A

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

Preview Lab → · Contrast checker → · Palette generator →

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