#1A0936#1A0936

#1A0936 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.082 H 295.1°. Best body text is #FFFFFF at 18.48:1 contrast (WCAG AA passes).

Color values

HEX#1A0936
RGBrgb(26, 9, 54)
HSLhsl(263, 71%, 12%)
HSVhsv(263, 83%, 21%)
CMYKcmyk(51.9%, 83.3%, 0%, 78.8%)
CIE-LABlab(6.15, 20.59, -25.75)
CIE-LCHlch(6.15, 32.97, 308.65°)
OKLaboklab(19.9% 0.0349 -0.0745)
OKLCHoklch(19.9% 0.082 295.1)
XYZxyz(1.1894, 0.6813, 3.5582)
Luminance0.0068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0936 #253609
analogous
#090E36 #1A0936 #310936
triadic
#1A0936 #361A09 #09361A
tetradic
#1A0936 #36090E #253609 #093631
square
#1A0936 #36090E #253609 #093631
split-complementary
#1A0936 #363109 #0E3609
monochromatic
#0D041A #0D041A #1A0936 #33126A #4D1A9F

Accessibility & contrast

On white

18.48
#1A0936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#1A0936 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0936
18.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0936#FFFFFF#000000##FFFFFF
##1A09361.0018.481.1418.48
#FFFFFF18.481.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001437
Deuteranopia (green-blind)
#001335
Tritanopia (blue-blind)
#12141E
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a0936;
/* rgb */ color: rgb(26, 9, 54);
/* oklch */ color: oklch(19.9% 0.082 295.1);
Tailwind
colors: {
  custom: {
    50: '#5a4a6d',
    500: '#1a0936',
    950: '#000000',
  },
}
SCSS
$custom: #1a0936;
$custom-light: #5a4a6d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0936",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 54
  },
  "hsl": {
    "h": 262.667,
    "s": 71.429,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19902,
    "c": 0.08228,
    "h": 295.1
  },
  "luminance": 0.00681
}

Semantic roles & 50–950 ramp

primary
#1A0936
secondary
#577427
accent
#EE3AAA
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #1A0936

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

Preview Lab → · Contrast checker → · Palette generator →

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