#1A0948#1A0948

#1A0948 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.107 H 285.9°. Best body text is #FFFFFF at 17.85:1 contrast (WCAG AA passes).

Color values

HEX#1A0948
RGBrgb(26, 9, 72)
HSLhsl(256, 78%, 16%)
HSVhsv(256, 88%, 28%)
CMYKcmyk(63.9%, 87.5%, 0%, 71.8%)
CIE-LABlab(7.97, 27.24, -35.65)
CIE-LCHlch(7.97, 44.87, 307.38°)
OKLaboklab(21.9% 0.0293 -0.1027)
OKLCHoklch(21.9% 0.107 285.9)
XYZxyz(1.6930, 0.8828, 6.2108)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0948 #374809
analogous
#091748 #1A0948 #390948
triadic
#1A0948 #481A09 #09481A
tetradic
#1A0948 #480917 #374809 #094839
square
#1A0948 #480917 #374809 #094839
split-complementary
#1A0948 #483909 #174809
monochromatic
#0A031B #0A031B #1A0948 #2E107E #4117B5

Accessibility & contrast

On white

17.85
#1A0948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0948
17.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0948#FFFFFF#000000##FFFFFF
##1A09481.0017.851.1817.85
#FFFFFF17.851.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001647
Tritanopia (blue-blind)
#041C28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0948;
/* rgb */ color: rgb(26, 9, 72);
/* oklch */ color: oklch(21.9% 0.107 285.9);
Tailwind
colors: {
  custom: {
    50: '#5e4b7c',
    500: '#1a0948',
    950: '#000000',
  },
}
SCSS
$custom: #1a0948;
$custom-light: #5e4b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0948",
  "rgb": {
    "r": 26,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 256.19,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21899,
    "c": 0.10679,
    "h": 285.9
  },
  "luminance": 0.00883
}

Semantic roles & 50–950 ramp

primary
#1A0948
secondary
#6C8527
accent
#F434C0
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0948

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

Preview Lab → · Contrast checker → · Palette generator →

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