#1A0A46#1A0A46

#1A0A46 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.103 H 286.5°. Best body text is #FFFFFF at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#1A0A46
RGBrgb(26, 10, 70)
HSLhsl(256, 75%, 16%)
HSVhsv(256, 86%, 27%)
CMYKcmyk(62.9%, 85.7%, 0%, 72.5%)
CIE-LABlab(7.94, 26.01, -34.31)
CIE-LCHlch(7.94, 43.06, 307.17°)
OKLaboklab(21.8% 0.0292 -0.0988)
OKLCHoklch(21.8% 0.103 286.5)
XYZxyz(1.6397, 0.8788, 5.8764)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0A46 #36460A
analogous
#0A1846 #1A0A46 #380A46
triadic
#1A0A46 #461A0A #0A461A
tetradic
#1A0A46 #460A18 #36460A #0A4638
square
#1A0A46 #460A18 #36460A #0A4638
split-complementary
#1A0A46 #46380A #18460A
monochromatic
#0A041B #0A041B #1A0A46 #2E127C #4219B1

Accessibility & contrast

On white

17.86
#1A0A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1A0A46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0A46
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0A46#FFFFFF#000000##FFFFFF
##1A0A461.0017.861.1817.86
#FFFFFF17.861.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001948
Deuteranopia (green-blind)
#001645
Tritanopia (blue-blind)
#061B28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0a46;
/* rgb */ color: rgb(26, 10, 70);
/* oklch */ color: oklch(21.8% 0.103 286.5);
Tailwind
colors: {
  custom: {
    50: '#5d4b7a',
    500: '#1a0a46',
    950: '#000000',
  },
}
SCSS
$custom: #1a0a46;
$custom-light: #5d4b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0a46",
  "rgb": {
    "r": 26,
    "g": 10,
    "b": 70
  },
  "hsl": {
    "h": 256,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21804,
    "c": 0.10299,
    "h": 286.5
  },
  "luminance": 0.00879
}

Semantic roles & 50–950 ramp

primary
#1A0A46
secondary
#6B8329
accent
#F236C0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0A46

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

Preview Lab → · Contrast checker → · Palette generator →

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