#1A0A45#1A0A45

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

Color values

HEX#1A0A45
RGBrgb(26, 10, 69)
HSLhsl(256, 75%, 15%)
HSVhsv(256, 86%, 27%)
CMYKcmyk(62.3%, 85.5%, 0%, 72.9%)
CIE-LABlab(7.83, 25.67, -33.79)
CIE-LCHlch(7.83, 42.44, 307.23°)
OKLaboklab(21.69% 0.0295 -0.0973)
OKLCHoklch(21.69% 0.102 286.9)
XYZxyz(1.6084, 0.8663, 5.7115)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0A45 #35450A
analogous
#0A1745 #1A0A45 #370A45
triadic
#1A0A45 #451A0A #0A451A
tetradic
#1A0A45 #450A17 #35450A #0A4537
square
#1A0A45 #450A17 #35450A #0A4537
split-complementary
#1A0A45 #45370A #17450A
monochromatic
#0A041B #0A041B #1A0A45 #2E127A #4219B0

Accessibility & contrast

On white

17.90
#1A0A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0A45
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0A45#FFFFFF#000000##FFFFFF
##1A0A451.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001947
Deuteranopia (green-blind)
#001544
Tritanopia (blue-blind)
#071B27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #1a0a45;
/* rgb */ color: rgb(26, 10, 69);
/* oklch */ color: oklch(21.7% 0.102 286.9);
Tailwind
colors: {
  custom: {
    50: '#5d4b79',
    500: '#1a0a45',
    950: '#000000',
  },
}
SCSS
$custom: #1a0a45;
$custom-light: #5d4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0a45",
  "rgb": {
    "r": 26,
    "g": 10,
    "b": 69
  },
  "hsl": {
    "h": 256.271,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21689,
    "c": 0.10164,
    "h": 286.9
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#1A0A45
secondary
#6A8229
accent
#F136BF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#050109
muted
#79777B

Preview Lab

Preview with #1A0A45

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

Preview Lab → · Contrast checker → · Palette generator →

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