#1A0646#1A0646

#1A0646 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.108 H 287.6°. Best body text is #FFFFFF at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#1A0646
RGBrgb(26, 6, 70)
HSLhsl(259, 84%, 15%)
HSVhsv(259, 91%, 27%)
CMYKcmyk(62.9%, 91.4%, 0%, 72.5%)
CIE-LABlab(7.15, 28.24, -35.60)
CIE-LCHlch(7.15, 45.44, 308.43°)
OKLaboklab(21.24% 0.0326 -0.1026)
OKLCHoklch(21.24% 0.108 287.6)
XYZxyz(1.5963, 0.7920, 5.8619)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0646 #324606
analogous
#061246 #1A0646 #3A0646
triadic
#1A0646 #461A06 #06461A
tetradic
#1A0646 #460612 #324606 #06463A
square
#1A0646 #460612 #324606 #06463A
split-complementary
#1A0646 #463A06 #124606
monochromatic
#0A021C #0A021C #1A0646 #2F0B7E #4410B7

Accessibility & contrast

On white

18.13
#1A0646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0646
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0646#FFFFFF#000000##FFFFFF
##1A06461.0018.131.1618.13
#FFFFFF18.131.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001748
Deuteranopia (green-blind)
#001445
Tritanopia (blue-blind)
#061927
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a0646;
/* rgb */ color: rgb(26, 6, 70);
/* oklch */ color: oklch(21.2% 0.108 287.6);
Tailwind
colors: {
  custom: {
    50: '#5e497a',
    500: '#1a0646',
    950: '#000000',
  },
}
SCSS
$custom: #1a0646;
$custom-light: #5e497a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0646",
  "rgb": {
    "r": 26,
    "g": 6,
    "b": 70
  },
  "hsl": {
    "h": 258.75,
    "s": 84.211,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21238,
    "c": 0.1077,
    "h": 287.6
  },
  "luminance": 0.00792
}

Semantic roles & 50–950 ramp

primary
#1A0646
secondary
#668522
accent
#FA2DBA
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0646

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

Preview Lab → · Contrast checker → · Palette generator →

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