#1A0E54#1A0E54

#1A0E54 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.0% C 0.118 H 280.7°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#1A0E54
RGBrgb(26, 14, 84)
HSLhsl(250, 71%, 19%)
HSVhsv(250, 83%, 33%)
CMYKcmyk(69%, 83.3%, 0%, 67.1%)
CIE-LABlab(10.36, 28.50, -40.02)
CIE-LCHlch(10.36, 49.13, 305.45°)
OKLaboklab(23.99% 0.0217 -0.1155)
OKLCHoklch(23.99% 0.118 280.7)
XYZxyz(2.1828, 1.1736, 8.4973)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0E54 #48540E
analogous
#0E2554 #1A0E54 #3D0E54
triadic
#1A0E54 #541A0E #0E541A
tetradic
#1A0E54 #540E25 #48540E #0E543D
square
#1A0E54 #540E25 #48540E #0E543D
split-complementary
#1A0E54 #543D0E #25540E
monochromatic
#08041A #0A0520 #1A0E54 #2A1788 #3A1FBD

Accessibility & contrast

On white

17.01
#1A0E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0E54
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0E54#FFFFFF#000000##FFFFFF
##1A0E541.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F56
Deuteranopia (green-blind)
#001A53
Tritanopia (blue-blind)
#002230
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a0e54;
/* rgb */ color: rgb(26, 14, 84);
/* oklch */ color: oklch(24.0% 0.118 280.7);
Tailwind
colors: {
  custom: {
    50: '#604e85',
    500: '#1a0e54',
    950: '#000000',
  },
}
SCSS
$custom: #1a0e54;
$custom-light: #604e85;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0e54",
  "rgb": {
    "r": 26,
    "g": 14,
    "b": 84
  },
  "hsl": {
    "h": 250.286,
    "s": 71.429,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23988,
    "c": 0.11751,
    "h": 280.7
  },
  "luminance": 0.01174
}

Semantic roles & 50–950 ramp

primary
#1A0E54
secondary
#7E8E2F
accent
#EE3ACF
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05020B
muted
#7A787C

Preview Lab

Preview with #1A0E54

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

Preview Lab → · Contrast checker → · Palette generator →

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