#1A0844#1A0844

#1A0844 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.103 H 287.9°. Best body text is #FFFFFF at 18.07:1 contrast (WCAG AA passes).

Color values

HEX#1A0844
RGBrgb(26, 8, 68)
HSLhsl(258, 79%, 15%)
HSVhsv(258, 88%, 27%)
CMYKcmyk(61.8%, 88.2%, 0%, 73.3%)
CIE-LABlab(7.32, 26.43, -33.91)
CIE-LCHlch(7.32, 42.99, 307.93°)
OKLaboklab(21.29% 0.0316 -0.0977)
OKLCHoklch(21.29% 0.103 287.9)
XYZxyz(1.5559, 0.8106, 5.5422)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0844 #324408
analogous
#081444 #1A0844 #380844
triadic
#1A0844 #441A08 #08441A
tetradic
#1A0844 #440814 #324408 #084438
square
#1A0844 #440814 #324408 #084438
split-complementary
#1A0844 #443808 #144408
monochromatic
#0A031B #0A031B #1A0844 #2F0E7B #4415B2

Accessibility & contrast

On white

18.07
#1A0844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0844
18.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0844#FFFFFF#000000##FFFFFF
##1A08441.0018.071.1618.07
#FFFFFF18.071.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001746
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#081926
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a0844;
/* rgb */ color: rgb(26, 8, 68);
/* oklch */ color: oklch(21.3% 0.103 287.9);
Tailwind
colors: {
  custom: {
    50: '#5d4a79',
    500: '#1a0844',
    950: '#000000',
  },
}
SCSS
$custom: #1a0844;
$custom-light: #5d4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0844",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 258,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2129,
    "c": 0.10268,
    "h": 287.9
  },
  "luminance": 0.00811
}

Semantic roles & 50–950 ramp

primary
#1A0844
secondary
#668226
accent
#F532BB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0844

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

Preview Lab → · Contrast checker → · Palette generator →

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