#1A0746#1A0746

#1A0746 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.106 H 287.3°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#1A0746
RGBrgb(26, 7, 70)
HSLhsl(258, 82%, 15%)
HSVhsv(258, 90%, 27%)
CMYKcmyk(62.9%, 90%, 0%, 72.5%)
CIE-LABlab(7.35, 27.69, -35.28)
CIE-LCHlch(7.35, 44.84, 308.13°)
OKLaboklab(21.38% 0.0318 -0.1016)
OKLCHoklch(21.38% 0.106 287.3)
XYZxyz(1.6071, 0.8137, 5.8655)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0746 #334607
analogous
#071446 #1A0746 #390746
triadic
#1A0746 #461A07 #07461A
tetradic
#1A0746 #460714 #334607 #074639
square
#1A0746 #460714 #334607 #074639
split-complementary
#1A0746 #463907 #144607
monochromatic
#0A031C #0A031C #1A0746 #2F0D7E #4312B5

Accessibility & contrast

On white

18.06
#1A0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1A0746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0746
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0746#FFFFFF#000000##FFFFFF
##1A07461.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#061A27
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a0746;
/* rgb */ color: rgb(26, 7, 70);
/* oklch */ color: oklch(21.4% 0.106 287.3);
Tailwind
colors: {
  custom: {
    50: '#5d497a',
    500: '#1a0746',
    950: '#000000',
  },
}
SCSS
$custom: #1a0746;
$custom-light: #5d497a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0746",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 258.095,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21382,
    "c": 0.10649,
    "h": 287.3
  },
  "luminance": 0.00814
}

Semantic roles & 50–950 ramp

primary
#1A0746
secondary
#688524
accent
#F830BC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0746

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

Preview Lab → · Contrast checker → · Palette generator →

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