#1A094A#1A094A

#1A094A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.109 H 285.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#1A094A
RGBrgb(26, 9, 74)
HSLhsl(256, 78%, 16%)
HSVhsv(256, 88%, 29%)
CMYKcmyk(64.9%, 87.8%, 0%, 71%)
CIE-LABlab(8.21, 27.90, -36.66)
CIE-LCHlch(8.21, 46.07, 307.27°)
OKLaboklab(22.14% 0.0286 -0.1056)
OKLCHoklch(22.14% 0.109 285.1)
XYZxyz(1.7593, 0.9093, 6.5600)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A094A #394A09
analogous
#09194A #1A094A #3B094A
triadic
#1A094A #4A1A09 #094A1A
tetradic
#1A094A #4A0919 #394A09 #094A3B
square
#1A094A #4A0919 #394A09 #094A3B
split-complementary
#1A094A #4A3B09 #194A09
monochromatic
#0A031B #0A031B #1A094A #2D1081 #4016B7

Accessibility & contrast

On white

17.77
#1A094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A094A
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A094A#FFFFFF#000000##FFFFFF
##1A094A1.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4C
Deuteranopia (green-blind)
#001649
Tritanopia (blue-blind)
#021C2A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a094a;
/* rgb */ color: rgb(26, 9, 74);
/* oklch */ color: oklch(22.1% 0.109 285.1);
Tailwind
colors: {
  custom: {
    50: '#5e4b7d',
    500: '#1a094a',
    950: '#000000',
  },
}
SCSS
$custom: #1a094a;
$custom-light: #5e4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a094a",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 255.692,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.22135,
    "c": 0.10943,
    "h": 285.1
  },
  "luminance": 0.00909
}

Semantic roles & 50–950 ramp

primary
#1A094A
secondary
#6E8727
accent
#F533C2
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A094A

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

Preview Lab → · Contrast checker → · Palette generator →

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