#1A0E2E#1A0E2E

#1A0E2E is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.0% C 0.062 H 297.9°. Best body text is #FFFFFF at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#1A0E2E
RGBrgb(26, 14, 46)
HSLhsl(263, 53%, 12%)
HSVhsv(263, 70%, 18%)
CMYKcmyk(43.5%, 69.6%, 0%, 82%)
CIE-LABlab(6.60, 14.85, -19.13)
CIE-LCHlch(6.60, 24.21, 307.83°)
OKLaboklab(20.05% 0.0289 -0.0547)
OKLCHoklch(20.05% 0.062 297.9)
XYZxyz(1.0761, 0.7309, 2.6686)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E2E #222E0E
analogous
#0E122E #1A0E2E #2A0E2E
triadic
#1A0E2E #2E1A0E #0E2E1A
tetradic
#1A0E2E #2E0E12 #222E0E #0E2E2A
square
#1A0E2E #2E0E12 #222E0E #0E2E2A
split-complementary
#1A0E2E #2E2A0E #122E0E
monochromatic
#0D0717 #0D0717 #1A0E2E #351C5D #4F2B8C

Accessibility & contrast

On white

18.32
#1A0E2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#1A0E2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0E2E
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E2E#FFFFFF#000000##FFFFFF
##1A0E2E1.0018.321.1518.32
#FFFFFF18.321.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#15151C
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #1a0e2e;
/* rgb */ color: rgb(26, 14, 46);
/* oklch */ color: oklch(20.0% 0.062 297.9);
Tailwind
colors: {
  custom: {
    50: '#584d67',
    500: '#1a0e2e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e2e;
$custom-light: #584d67;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e2e",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 46
  },
  "hsl": {
    "h": 262.5,
    "s": 53.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.20049,
    "c": 0.06186,
    "h": 297.9
  },
  "luminance": 0.00731
}

Semantic roles & 50–950 ramp

primary
#1A0E2E
secondary
#536830
accent
#DD4BA6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #1A0E2E

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

Preview Lab → · Contrast checker → · Palette generator →

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