#1A0E4C#1A0E4C

#1A0E4C is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.107 H 283.0°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#1A0E4C
RGBrgb(26, 14, 76)
HSLhsl(252, 69%, 18%)
HSVhsv(252, 82%, 30%)
CMYKcmyk(65.8%, 81.6%, 0%, 70.2%)
CIE-LABlab(9.44, 25.72, -36.02)
CIE-LCHlch(9.44, 44.26, 305.52°)
OKLaboklab(23.07% 0.024 -0.1038)
OKLCHoklch(23.07% 0.107 283)
XYZxyz(1.8871, 1.0554, 6.9403)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E4C #404C0E
analogous
#0E214C #1A0E4C #390E4C
triadic
#1A0E4C #4C1A0E #0E4C1A
tetradic
#1A0E4C #4C0E21 #404C0E #0E4C39
square
#1A0E4C #4C0E21 #404C0E #0E4C39
split-complementary
#1A0E4C #4C390E #214C0E
monochromatic
#09051A #09051A #1A0E4C #2C1880 #3D21B3

Accessibility & contrast

On white

17.34
#1A0E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0E4C
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E4C#FFFFFF#000000##FFFFFF
##1A0E4C1.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #1a0e4c;
/* rgb */ color: rgb(26, 14, 76);
/* oklch */ color: oklch(23.1% 0.107 283.0);
Tailwind
colors: {
  custom: {
    50: '#5e4e7f',
    500: '#1a0e4c',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e4c;
$custom-light: #5e4e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e4c",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 76
  },
  "hsl": {
    "h": 251.613,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.23068,
    "c": 0.10656,
    "h": 283
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#1A0E4C
secondary
#76872F
accent
#EC3CCA
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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