#1A0C44#1A0C44

#1A0C44 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.098 H 286.6°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#1A0C44
RGBrgb(26, 12, 68)
HSLhsl(255, 70%, 16%)
HSVhsv(255, 82%, 27%)
CMYKcmyk(61.8%, 82.4%, 0%, 73.3%)
CIE-LABlab(8.13, 24.16, -32.59)
CIE-LCHlch(8.13, 40.57, 306.56°)
OKLaboklab(21.87% 0.028 -0.0938)
OKLCHoklch(21.87% 0.098 286.6)
XYZxyz(1.6006, 0.8998, 5.5571)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0C44 #36440C
analogous
#0C1A44 #1A0C44 #360C44
triadic
#1A0C44 #441A0C #0C441A
tetradic
#1A0C44 #440C1A #36440C #0C4436
square
#1A0C44 #440C1A #36440C #0C4436
split-complementary
#1A0C44 #44360C #1A440C
monochromatic
#0A051A #0A051A #1A0C44 #2E1578 #421EAC

Accessibility & contrast

On white

17.80
#1A0C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0C44
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0C44#FFFFFF#000000##FFFFFF
##1A0C441.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001946
Deuteranopia (green-blind)
#001643
Tritanopia (blue-blind)
#081B27
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0c44;
/* rgb */ color: rgb(26, 12, 68);
/* oklch */ color: oklch(21.9% 0.098 286.6);
Tailwind
colors: {
  custom: {
    50: '#5d4c79',
    500: '#1a0c44',
    950: '#000000',
  },
}
SCSS
$custom: #1a0c44;
$custom-light: #5d4c79;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0c44",
  "rgb": {
    "r": 26,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 255,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21869,
    "c": 0.09786,
    "h": 286.6
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#1A0C44
secondary
#6B802C
accent
#ED3BC0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0C44

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

Preview Lab → · Contrast checker → · Palette generator →

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