#1A073D#1A073D

#1A073D is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.3% C 0.095 H 291.8°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#1A073D
RGBrgb(26, 7, 61)
HSLhsl(261, 79%, 13%)
HSVhsv(261, 89%, 24%)
CMYKcmyk(57.4%, 88.5%, 0%, 76.1%)
CIE-LABlab(6.40, 24.36, -30.43)
CIE-LCHlch(6.40, 38.98, 308.68°)
OKLaboklab(20.34% 0.0352 -0.088)
OKLCHoklch(20.34% 0.095 291.8)
XYZxyz(1.3440, 0.7084, 4.4799)
Luminance0.0071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A073D #2A3D07
analogous
#070F3D #1A073D #35073D
triadic
#1A073D #3D1A07 #073D1A
tetradic
#1A073D #3D070F #2A3D07 #073D35
square
#1A073D #3D070F #2A3D07 #073D35
split-complementary
#1A073D #3D3507 #0F3D07
monochromatic
#0C031B #0C031B #1A073D #310D74 #4914AB

Accessibility & contrast

On white

18.40
#1A073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A073D
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A073D#FFFFFF#000000##FFFFFF
##1A073D1.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153F
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#0E1622
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a073d;
/* rgb */ color: rgb(26, 7, 61);
/* oklch */ color: oklch(20.3% 0.095 291.8);
Tailwind
colors: {
  custom: {
    50: '#5b4973',
    500: '#1a073d',
    950: '#000000',
  },
}
SCSS
$custom: #1a073d;
$custom-light: #5b4973;
$custom-dark: #000000;
JSON
{
  "hex": "#1a073d",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 261.111,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20335,
    "c": 0.09476,
    "h": 291.8
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#1A073D
secondary
#5D7C23
accent
#F632B1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A073D

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

Preview Lab → · Contrast checker → · Palette generator →

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