#1A0946#1A0946

#1A0946 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.7% C 0.104 H 286.8°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#1A0946
RGBrgb(26, 9, 70)
HSLhsl(257, 77%, 15%)
HSVhsv(257, 87%, 27%)
CMYKcmyk(62.9%, 87.1%, 0%, 72.5%)
CIE-LABlab(7.74, 26.57, -34.63)
CIE-LCHlch(7.74, 43.65, 307.50°)
OKLaboklab(21.67% 0.03 -0.0997)
OKLCHoklch(21.67% 0.104 286.8)
XYZxyz(1.6288, 0.8571, 5.8728)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0946 #354609
analogous
#091746 #1A0946 #380946
triadic
#1A0946 #461A09 #09461A
tetradic
#1A0946 #460917 #354609 #094638
square
#1A0946 #460917 #354609 #094638
split-complementary
#1A0946 #463809 #174609
monochromatic
#0A031B #0A031B #1A0946 #2E107C #4217B2

Accessibility & contrast

On white

17.93
#1A0946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#1A0946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0946
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0946#FFFFFF#000000##FFFFFF
##1A09461.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001848
Deuteranopia (green-blind)
#001545
Tritanopia (blue-blind)
#061B27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0946;
/* rgb */ color: rgb(26, 9, 70);
/* oklch */ color: oklch(21.7% 0.104 286.8);
Tailwind
colors: {
  custom: {
    50: '#5d4a7a',
    500: '#1a0946',
    950: '#000000',
  },
}
SCSS
$custom: #1a0946;
$custom-light: #5d4a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0946",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 70
  },
  "hsl": {
    "h": 256.721,
    "s": 77.215,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21665,
    "c": 0.10414,
    "h": 286.8
  },
  "luminance": 0.00857
}

Semantic roles & 50–950 ramp

primary
#1A0946
secondary
#6A8427
accent
#F434BE
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0946

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

Preview Lab → · Contrast checker → · Palette generator →

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