#1A0938#1A0938

#1A0938 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.085 H 293.9°. Best body text is #FFFFFF at 18.42:1 contrast (WCAG AA passes).

Color values

HEX#1A0938
RGBrgb(26, 9, 56)
HSLhsl(262, 72%, 13%)
HSVhsv(262, 84%, 22%)
CMYKcmyk(53.6%, 83.9%, 0%, 78%)
CIE-LABlab(6.33, 21.38, -26.92)
CIE-LCHlch(6.33, 34.38, 308.45°)
OKLaboklab(20.11% 0.0344 -0.0778)
OKLCHoklch(20.11% 0.085 293.9)
XYZxyz(1.2373, 0.7005, 3.8106)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0938 #273809
analogous
#090F38 #1A0938 #310938
triadic
#1A0938 #381A09 #09381A
tetradic
#1A0938 #38090F #273809 #093831
square
#1A0938 #38090F #273809 #093831
split-complementary
#1A0938 #383109 #0F3809
monochromatic
#0C041A #0C041A #1A0938 #32116D #4B1AA1

Accessibility & contrast

On white

18.42
#1A0938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0938
18.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0938#FFFFFF#000000##FFFFFF
##1A09381.0018.421.1418.42
#FFFFFF18.421.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001539
Deuteranopia (green-blind)
#001337
Tritanopia (blue-blind)
#11151F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #1a0938;
/* rgb */ color: rgb(26, 9, 56);
/* oklch */ color: oklch(20.1% 0.085 293.9);
Tailwind
colors: {
  custom: {
    50: '#5a4a6f',
    500: '#1a0938',
    950: '#000000',
  },
}
SCSS
$custom: #1a0938;
$custom-light: #5a4a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0938",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 56
  },
  "hsl": {
    "h": 261.702,
    "s": 72.308,
    "l": 12.745
  },
  "oklch": {
    "l": 0.2011,
    "c": 0.08508,
    "h": 293.9
  },
  "luminance": 0.00701
}

Semantic roles & 50–950 ramp

primary
#1A0938
secondary
#597627
accent
#EF39AD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #1A0938

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

Preview Lab → · Contrast checker → · Palette generator →

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