#1A0A47#1A0A47

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

Color values

HEX#1A0A47
RGBrgb(26, 10, 71)
HSLhsl(256, 75%, 16%)
HSVhsv(256, 86%, 28%)
CMYKcmyk(63.4%, 85.9%, 0%, 72.2%)
CIE-LABlab(8.05, 26.35, -34.82)
CIE-LCHlch(8.05, 43.67, 307.11°)
OKLaboklab(21.92% 0.0289 -0.1003)
OKLCHoklch(21.92% 0.104 286.1)
XYZxyz(1.6715, 0.8915, 6.0440)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0A47 #37470A
analogous
#0A1847 #1A0A47 #380A47
triadic
#1A0A47 #471A0A #0A471A
tetradic
#1A0A47 #470A18 #37470A #0A4738
square
#1A0A47 #470A18 #37470A #0A4738
split-complementary
#1A0A47 #47380A #18470A
monochromatic
#0A041B #0A041B #1A0A47 #2E127D #4119B2

Accessibility & contrast

On white

17.82
#1A0A47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0A47
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0A47#FFFFFF#000000##FFFFFF
##1A0A471.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001646
Tritanopia (blue-blind)
#051C28
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0a47;
/* rgb */ color: rgb(26, 10, 71);
/* oklch */ color: oklch(21.9% 0.104 286.1);
Tailwind
colors: {
  custom: {
    50: '#5d4b7b',
    500: '#1a0a47',
    950: '#000000',
  },
}
SCSS
$custom: #1a0a47;
$custom-light: #5d4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0a47",
  "rgb": {
    "r": 26,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 255.738,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21919,
    "c": 0.10435,
    "h": 286.1
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#1A0A47
secondary
#6C8429
accent
#F236C1
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0A47

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

Preview Lab → · Contrast checker → · Palette generator →

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