#1A0E4E#1A0E4E

#1A0E4E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.109 H 282.4°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#1A0E4E
RGBrgb(26, 14, 78)
HSLhsl(251, 70%, 18%)
HSVhsv(251, 82%, 31%)
CMYKcmyk(66.7%, 82.1%, 0%, 69.4%)
CIE-LABlab(9.67, 26.42, -37.04)
CIE-LCHlch(9.67, 45.49, 305.50°)
OKLaboklab(23.3% 0.0235 -0.1068)
OKLCHoklch(23.3% 0.109 282.4)
XYZxyz(1.9578, 1.0836, 7.3122)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E4E #424E0E
analogous
#0E224E #1A0E4E #3A0E4E
triadic
#1A0E4E #4E1A0E #0E4E1A
tetradic
#1A0E4E #4E0E22 #424E0E #0E4E3A
square
#1A0E4E #4E0E22 #424E0E #0E4E3A
split-complementary
#1A0E4E #4E3A0E #224E0E
monochromatic
#09051A #09051A #1A0E4E #2B1782 #3D21B6

Accessibility & contrast

On white

17.26
#1A0E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0E4E
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E4E#FFFFFF#000000##FFFFFF
##1A0E4E1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0e4e;
/* rgb */ color: rgb(26, 14, 78);
/* oklch */ color: oklch(23.3% 0.109 282.4);
Tailwind
colors: {
  custom: {
    50: '#5f4e80',
    500: '#1a0e4e',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e4e;
$custom-light: #5f4e80;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e4e",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 78
  },
  "hsl": {
    "h": 251.25,
    "s": 69.565,
    "l": 18.039
  },
  "oklch": {
    "l": 0.23295,
    "c": 0.10934,
    "h": 282.4
  },
  "luminance": 0.01084
}

Semantic roles & 50–950 ramp

primary
#1A0E4E
secondary
#78892F
accent
#EC3BCB
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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