#1A0E4F#1A0E4F

#1A0E4F is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.111 H 282.1°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#1A0E4F
RGBrgb(26, 14, 79)
HSLhsl(251, 70%, 18%)
HSVhsv(251, 82%, 31%)
CMYKcmyk(67.1%, 82.3%, 0%, 69%)
CIE-LABlab(9.78, 26.76, -37.54)
CIE-LCHlch(9.78, 46.10, 305.49°)
OKLaboklab(23.41% 0.0232 -0.1083)
OKLCHoklch(23.41% 0.111 282.1)
XYZxyz(1.9939, 1.0981, 7.5025)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E4F #434F0E
analogous
#0E224F #1A0E4F #3A0E4F
triadic
#1A0E4F #4F1A0E #0E4F1A
tetradic
#1A0E4F #4F0E22 #434F0E #0E4F3A
square
#1A0E4F #4F0E22 #434F0E #0E4F3A
split-complementary
#1A0E4F #4F3A0E #224F0E
monochromatic
#09051A #09051B #1A0E4F #2B1783 #3C20B7

Accessibility & contrast

On white

17.22
#1A0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#1A0E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0E4F
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E4F#FFFFFF#000000##FFFFFF
##1A0E4F1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D51
Deuteranopia (green-blind)
#00194E
Tritanopia (blue-blind)
#00202E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a0e4f;
/* rgb */ color: rgb(26, 14, 79);
/* oklch */ color: oklch(23.4% 0.111 282.1);
Tailwind
colors: {
  custom: {
    50: '#5f4e81',
    500: '#1a0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e4f;
$custom-light: #5f4e81;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e4f",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 251.077,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.23409,
    "c": 0.11072,
    "h": 282.1
  },
  "luminance": 0.01098
}

Semantic roles & 50–950 ramp

primary
#1A0E4F
secondary
#798A2F
accent
#ED3BCC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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