#1A0C49#1A0C49

#1A0C49 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.4% C 0.105 H 284.7°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#1A0C49
RGBrgb(26, 12, 73)
HSLhsl(254, 72%, 17%)
HSVhsv(254, 84%, 29%)
CMYKcmyk(64.4%, 83.6%, 0%, 71.4%)
CIE-LABlab(8.68, 25.88, -35.19)
CIE-LCHlch(8.68, 43.68, 306.33°)
OKLaboklab(22.43% 0.0266 -0.1014)
OKLCHoklch(22.43% 0.105 284.7)
XYZxyz(1.7597, 0.9635, 6.3953)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0C49 #3B490C
analogous
#0C1D49 #1A0C49 #390C49
triadic
#1A0C49 #491A0C #0C491A
tetradic
#1A0C49 #490C1D #3B490C #0C4939
square
#1A0C49 #490C1D #3B490C #0C4939
split-complementary
#1A0C49 #49390C #1D490C
monochromatic
#09041A #09041A #1A0C49 #2D157E #3F1DB2

Accessibility & contrast

On white

17.61
#1A0C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#1A0C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0C49
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0C49#FFFFFF#000000##FFFFFF
##1A0C491.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4B
Deuteranopia (green-blind)
#001748
Tritanopia (blue-blind)
#031D2A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #1a0c49;
/* rgb */ color: rgb(26, 12, 73);
/* oklch */ color: oklch(22.4% 0.105 284.7);
Tailwind
colors: {
  custom: {
    50: '#5e4c7c',
    500: '#1a0c49',
    950: '#000000',
  },
}
SCSS
$custom: #1a0c49;
$custom-light: #5e4c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0c49",
  "rgb": {
    "r": 26,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 253.77,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2243,
    "c": 0.10478,
    "h": 284.7
  },
  "luminance": 0.00964
}

Semantic roles & 50–950 ramp

primary
#1A0C49
secondary
#70852C
accent
#EE39C5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0C49

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

Preview Lab → · Contrast checker → · Palette generator →

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