#1A0947#1A0947

#1A0947 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.105 H 286.3°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#1A0947
RGBrgb(26, 9, 71)
HSLhsl(256, 78%, 16%)
HSVhsv(256, 87%, 28%)
CMYKcmyk(63.4%, 87.3%, 0%, 72.2%)
CIE-LABlab(7.86, 26.91, -35.15)
CIE-LCHlch(7.86, 44.27, 307.44°)
OKLaboklab(21.78% 0.0297 -0.1012)
OKLCHoklch(21.78% 0.105 286.3)
XYZxyz(1.6607, 0.8698, 6.0404)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0947 #364709
analogous
#091747 #1A0947 #390947
triadic
#1A0947 #471A09 #09471A
tetradic
#1A0947 #470917 #364709 #094739
square
#1A0947 #470917 #364709 #094739
split-complementary
#1A0947 #473909 #174709
monochromatic
#0A031B #0A031B #1A0947 #2E107D #4217B4

Accessibility & contrast

On white

17.89
#1A0947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0947
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0947#FFFFFF#000000##FFFFFF
##1A09471.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001949
Deuteranopia (green-blind)
#001546
Tritanopia (blue-blind)
#051B28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0947;
/* rgb */ color: rgb(26, 9, 71);
/* oklch */ color: oklch(21.8% 0.105 286.3);
Tailwind
colors: {
  custom: {
    50: '#5d4b7b',
    500: '#1a0947',
    950: '#000000',
  },
}
SCSS
$custom: #1a0947;
$custom-light: #5d4b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0947",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 71
  },
  "hsl": {
    "h": 256.452,
    "s": 77.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21782,
    "c": 0.10547,
    "h": 286.3
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#1A0947
secondary
#6B8427
accent
#F434BF
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0947

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

Preview Lab → · Contrast checker → · Palette generator →

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