#1A0846#1A0846

#1A0846 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.5% C 0.105 H 287.1°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#1A0846
RGBrgb(26, 8, 70)
HSLhsl(257, 79%, 15%)
HSVhsv(257, 89%, 27%)
CMYKcmyk(62.9%, 88.6%, 0%, 72.5%)
CIE-LABlab(7.55, 27.13, -34.95)
CIE-LCHlch(7.55, 44.25, 307.82°)
OKLaboklab(21.53% 0.0309 -0.1007)
OKLCHoklch(21.53% 0.105 287.1)
XYZxyz(1.6180, 0.8354, 5.8692)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0846 #344608
analogous
#081546 #1A0846 #390846
triadic
#1A0846 #461A08 #08461A
tetradic
#1A0846 #460815 #344608 #084639
square
#1A0846 #460815 #344608 #084639
split-complementary
#1A0846 #463908 #154608
monochromatic
#0A031B #0A031B #1A0846 #2E0E7D #4315B4

Accessibility & contrast

On white

17.99
#1A0846 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1A0846 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0846
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0846#FFFFFF#000000##FFFFFF
##1A08461.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0846;
/* rgb */ color: rgb(26, 8, 70);
/* oklch */ color: oklch(21.5% 0.105 287.1);
Tailwind
colors: {
  custom: {
    50: '#5d4a7a',
    500: '#1a0846',
    950: '#000000',
  },
}
SCSS
$custom: #1a0846;
$custom-light: #5d4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0846",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 70
  },
  "hsl": {
    "h": 257.419,
    "s": 79.487,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21525,
    "c": 0.10531,
    "h": 287.1
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#1A0846
secondary
#698426
accent
#F632BD
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0846

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

Preview Lab → · Contrast checker → · Palette generator →

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