#1A0E50#1A0E50

#1A0E50 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.112 H 281.8°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#1A0E50
RGBrgb(26, 14, 80)
HSLhsl(251, 70%, 18%)
HSVhsv(251, 83%, 31%)
CMYKcmyk(67.5%, 82.5%, 0%, 68.6%)
CIE-LABlab(9.90, 27.11, -38.04)
CIE-LCHlch(9.90, 46.71, 305.48°)
OKLaboklab(23.52% 0.0229 -0.1097)
OKLCHoklch(23.52% 0.112 281.8)
XYZxyz(2.0306, 1.1127, 7.6956)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E50 #44500E
analogous
#0E2350 #1A0E50 #3B0E50
triadic
#1A0E50 #501A0E #0E501A
tetradic
#1A0E50 #500E23 #44500E #0E503B
square
#1A0E50 #500E23 #44500E #0E503B
split-complementary
#1A0E50 #503B0E #23500E
monochromatic
#08051A #09051C #1A0E50 #2B1784 #3C20B8

Accessibility & contrast

On white

17.18
#1A0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0E50
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E50#FFFFFF#000000##FFFFFF
##1A0E501.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00194F
Tritanopia (blue-blind)
#00212E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a0e50;
/* rgb */ color: rgb(26, 14, 80);
/* oklch */ color: oklch(23.5% 0.112 281.8);
Tailwind
colors: {
  custom: {
    50: '#5f4e82',
    500: '#1a0e50',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e50;
$custom-light: #5f4e82;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e50",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 250.909,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.23524,
    "c": 0.11208,
    "h": 281.8
  },
  "luminance": 0.01113
}

Semantic roles & 50–950 ramp

primary
#1A0E50
secondary
#7A8B2F
accent
#ED3BCD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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