#1A0E52#1A0E52

#1A0E52 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.8% C 0.115 H 281.2°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#1A0E52
RGBrgb(26, 14, 82)
HSLhsl(251, 71%, 19%)
HSVhsv(251, 83%, 32%)
CMYKcmyk(68.3%, 82.9%, 0%, 67.8%)
CIE-LABlab(10.13, 27.81, -39.03)
CIE-LCHlch(10.13, 47.93, 305.46°)
OKLaboklab(23.76% 0.0223 -0.1126)
OKLCHoklch(23.76% 0.115 281.2)
XYZxyz(2.1056, 1.1427, 8.0906)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E52 #46520E
analogous
#0E2452 #1A0E52 #3C0E52
triadic
#1A0E52 #521A0E #0E521A
tetradic
#1A0E52 #520E24 #46520E #0E523C
square
#1A0E52 #520E24 #46520E #0E523C
split-complementary
#1A0E52 #523C0E #24520E
monochromatic
#08041A #09051E #1A0E52 #2B1786 #3B20BB

Accessibility & contrast

On white

17.09
#1A0E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#1A0E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0E52
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E52#FFFFFF#000000##FFFFFF
##1A0E521.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#00222F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a0e52;
/* rgb */ color: rgb(26, 14, 82);
/* oklch */ color: oklch(23.8% 0.115 281.2);
Tailwind
colors: {
  custom: {
    50: '#604e83',
    500: '#1a0e52',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e52;
$custom-light: #604e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e52",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 250.588,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23755,
    "c": 0.11481,
    "h": 281.2
  },
  "luminance": 0.01143
}

Semantic roles & 50–950 ramp

primary
#1A0E52
secondary
#7C8C2F
accent
#EE3ACE
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05020B
muted
#79787C

Preview Lab

Preview with #1A0E52

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

Preview Lab → · Contrast checker → · Palette generator →

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