#1A0943#1A0943

#1A0943 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.100 H 288.1°. Best body text is #FFFFFF at 18.04:1 contrast (WCAG AA passes).

Color values

HEX#1A0943
RGBrgb(26, 9, 67)
HSLhsl(258, 76%, 15%)
HSVhsv(258, 87%, 26%)
CMYKcmyk(61.2%, 86.6%, 0%, 73.7%)
CIE-LABlab(7.41, 25.53, -33.06)
CIE-LCHlch(7.41, 41.77, 307.67°)
OKLaboklab(21.32% 0.0311 -0.0952)
OKLCHoklch(21.32% 0.1 288.1)
XYZxyz(1.5365, 0.8202, 5.3864)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0943 #324309
analogous
#091543 #1A0943 #370943
triadic
#1A0943 #431A09 #09431A
tetradic
#1A0943 #430915 #324309 #094337
square
#1A0943 #430915 #324309 #094337
split-complementary
#1A0943 #433709 #154309
monochromatic
#0A041B #0A041B #1A0943 #2F1079 #4417AF

Accessibility & contrast

On white

18.04
#1A0943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#1A0943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0943
18.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0943#FFFFFF#000000##FFFFFF
##1A09431.0018.041.1618.04
#FFFFFF18.041.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001845
Deuteranopia (green-blind)
#001542
Tritanopia (blue-blind)
#091926
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #1a0943;
/* rgb */ color: rgb(26, 9, 67);
/* oklch */ color: oklch(21.3% 0.100 288.1);
Tailwind
colors: {
  custom: {
    50: '#5d4a78',
    500: '#1a0943',
    950: '#000000',
  },
}
SCSS
$custom: #1a0943;
$custom-light: #5d4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0943",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 257.586,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21319,
    "c": 0.10013,
    "h": 288.1
  },
  "luminance": 0.0082
}

Semantic roles & 50–950 ramp

primary
#1A0943
secondary
#668127
accent
#F335BB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #1A0943

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

Preview Lab → · Contrast checker → · Palette generator →

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