#1A0A44#1A0A44

#1A0A44 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.100 H 287.3°. Best body text is #FFFFFF at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#1A0A44
RGBrgb(26, 10, 68)
HSLhsl(257, 74%, 15%)
HSVhsv(257, 85%, 27%)
CMYKcmyk(61.8%, 85.3%, 0%, 73.3%)
CIE-LABlab(7.71, 25.33, -33.27)
CIE-LCHlch(7.71, 41.81, 307.28°)
OKLaboklab(21.58% 0.0299 -0.0957)
OKLCHoklch(21.58% 0.1 287.3)
XYZxyz(1.5776, 0.8540, 5.5494)
Luminance0.0085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0A44 #34440A
analogous
#0A1744 #1A0A44 #370A44
triadic
#1A0A44 #441A0A #0A441A
tetradic
#1A0A44 #440A17 #34440A #0A4437
square
#1A0A44 #440A17 #34440A #0A4437
split-complementary
#1A0A44 #44370A #17440A
monochromatic
#0A041B #0A041B #1A0A44 #2E1279 #431AAF

Accessibility & contrast

On white

17.94
#1A0A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0A44
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0A44#FFFFFF#000000##FFFFFF
##1A0A441.0017.941.1717.94
#FFFFFF17.941.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#081A26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0a44;
/* rgb */ color: rgb(26, 10, 68);
/* oklch */ color: oklch(21.6% 0.100 287.3);
Tailwind
colors: {
  custom: {
    50: '#5d4b79',
    500: '#1a0a44',
    950: '#000000',
  },
}
SCSS
$custom: #1a0a44;
$custom-light: #5d4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0a44",
  "rgb": {
    "r": 26,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 256.552,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21576,
    "c": 0.10029,
    "h": 287.3
  },
  "luminance": 0.00854
}

Semantic roles & 50–950 ramp

primary
#1A0A44
secondary
#698129
accent
#F137BE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0A44

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

Preview Lab → · Contrast checker → · Palette generator →

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