#1A0937#1A0937

#1A0937 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.084 H 294.5°. Best body text is #FFFFFF at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#1A0937
RGBrgb(26, 9, 55)
HSLhsl(262, 72%, 13%)
HSVhsv(262, 84%, 22%)
CMYKcmyk(52.7%, 83.6%, 0%, 78.4%)
CIE-LABlab(6.24, 20.99, -26.34)
CIE-LCHlch(6.24, 33.68, 308.55°)
OKLaboklab(20.01% 0.0347 -0.0761)
OKLCHoklch(20.01% 0.084 294.5)
XYZxyz(1.2131, 0.6908, 3.6831)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0937 #263709
analogous
#090F37 #1A0937 #310937
triadic
#1A0937 #371A09 #09371A
tetradic
#1A0937 #37090F #263709 #093731
square
#1A0937 #37090F #263709 #093731
split-complementary
#1A0937 #373109 #0F3709
monochromatic
#0C041A #0C041A #1A0937 #33126C #4C1AA0

Accessibility & contrast

On white

18.45
#1A0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0937
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0937#FFFFFF#000000##FFFFFF
##1A09371.0018.451.1418.45
#FFFFFF18.451.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#12151F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a0937;
/* rgb */ color: rgb(26, 9, 55);
/* oklch */ color: oklch(20.0% 0.084 294.5);
Tailwind
colors: {
  custom: {
    50: '#5a4a6e',
    500: '#1a0937',
    950: '#000000',
  },
}
SCSS
$custom: #1a0937;
$custom-light: #5a4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0937",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 262.174,
    "s": 71.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.20005,
    "c": 0.08368,
    "h": 294.5
  },
  "luminance": 0.00691
}

Semantic roles & 50–950 ramp

primary
#1A0937
secondary
#587527
accent
#EF39AC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1A0937

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

Preview Lab → · Contrast checker → · Palette generator →

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