#1A0E41#1A0E41

#1A0E41 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.091 H 287.1°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#1A0E41
RGBrgb(26, 14, 65)
HSLhsl(254, 65%, 15%)
HSVhsv(254, 78%, 25%)
CMYKcmyk(60%, 78.5%, 0%, 74.5%)
CIE-LABlab(8.26, 21.85, -30.24)
CIE-LCHlch(8.26, 37.30, 305.85°)
OKLaboklab(21.87% 0.0267 -0.0869)
OKLCHoklch(21.87% 0.091 287.1)
XYZxyz(1.5369, 0.9153, 5.0957)
Luminance0.0092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E41 #35410E
analogous
#0E1B41 #1A0E41 #330E41
triadic
#1A0E41 #411A0E #0E411A
tetradic
#1A0E41 #410E1B #35410E #0E4133
square
#1A0E41 #410E1B #35410E #0E4133
split-complementary
#1A0E41 #41330E #1B410E
monochromatic
#0A0519 #0A0519 #1A0E41 #2E1973 #4224A6

Accessibility & contrast

On white

17.75
#1A0E41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#1A0E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0E41
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E41#FFFFFF#000000##FFFFFF
##1A0E411.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#0A1B26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #1a0e41;
/* rgb */ color: rgb(26, 14, 65);
/* oklch */ color: oklch(21.9% 0.091 287.1);
Tailwind
colors: {
  custom: {
    50: '#5c4d76',
    500: '#1a0e41',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e41;
$custom-light: #5c4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e41",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 65
  },
  "hsl": {
    "h": 254.118,
    "s": 64.557,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21869,
    "c": 0.0909,
    "h": 287.1
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#1A0E41
secondary
#6A7C2F
accent
#E840C0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #1A0E41

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

Preview Lab → · Contrast checker → · Palette generator →

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