#1A0E4A#1A0E4A

#1A0E4A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.104 H 283.7°. Best body text is #FFFFFF at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#1A0E4A
RGBrgb(26, 14, 74)
HSLhsl(252, 68%, 17%)
HSVhsv(252, 81%, 29%)
CMYKcmyk(64.9%, 81.1%, 0%, 71%)
CIE-LABlab(9.22, 25.02, -35.00)
CIE-LCHlch(9.22, 43.02, 305.56°)
OKLaboklab(22.84% 0.0246 -0.1008)
OKLCHoklch(22.84% 0.104 283.7)
XYZxyz(1.8187, 1.0280, 6.5798)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E4A #3E4A0E
analogous
#0E204A #1A0E4A #380E4A
triadic
#1A0E4A #4A1A0E #0E4A1A
tetradic
#1A0E4A #4A0E20 #3E4A0E #0E4A38
square
#1A0E4A #4A0E20 #3E4A0E #0E4A38
split-complementary
#1A0E4A #4A380E #204A0E
monochromatic
#09051A #09051A #1A0E4A #2C187D #3E21B1

Accessibility & contrast

On white

17.42
#1A0E4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#1A0E4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0E4A
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E4A#FFFFFF#000000##FFFFFF
##1A0E4A1.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#011F2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1a0e4a;
/* rgb */ color: rgb(26, 14, 74);
/* oklch */ color: oklch(22.8% 0.104 283.7);
Tailwind
colors: {
  custom: {
    50: '#5e4e7d',
    500: '#1a0e4a',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e4a;
$custom-light: #5e4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e4a",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 74
  },
  "hsl": {
    "h": 252,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.22844,
    "c": 0.10377,
    "h": 283.7
  },
  "luminance": 0.01028
}

Semantic roles & 50–950 ramp

primary
#1A0E4A
secondary
#74852F
accent
#EB3DC8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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