#1A0D5A#1A0D5A

#1A0D5A is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.6% C 0.126 H 279.3°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#1A0D5A
RGBrgb(26, 13, 90)
HSLhsl(250, 75%, 20%)
HSVhsv(250, 86%, 35%)
CMYKcmyk(71.1%, 85.6%, 0%, 64.7%)
CIE-LABlab(10.89, 31.09, -43.22)
CIE-LCHlch(10.89, 53.24, 305.73°)
OKLaboklab(24.57% 0.0205 -0.1248)
OKLCHoklch(24.57% 0.126 279.3)
XYZxyz(2.4148, 1.2454, 9.7840)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D5A #4D5A0D
analogous
#0D265A #1A0D5A #400D5A
triadic
#1A0D5A #5A1A0D #0D5A1A
tetradic
#1A0D5A #5A0D26 #4D5A0D #0D5A40
square
#1A0D5A #5A0D26 #4D5A0D #0D5A40
split-complementary
#1A0D5A #5A400D #265A0D
monochromatic
#08041B #0B0525 #1A0D5A #29158F #391CC5

Accessibility & contrast

On white

16.81
#1A0D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#1A0D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0D5A
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D5A#FFFFFF#000000##FFFFFF
##1A0D5A1.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00205C
Deuteranopia (green-blind)
#001A59
Tritanopia (blue-blind)
#002434
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #1a0d5a;
/* rgb */ color: rgb(26, 13, 90);
/* oklch */ color: oklch(24.6% 0.126 279.3);
Tailwind
colors: {
  custom: {
    50: '#624e8a',
    500: '#1a0d5a',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d5a;
$custom-light: #624e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d5a",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 90
  },
  "hsl": {
    "h": 250.13,
    "s": 74.757,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2457,
    "c": 0.12647,
    "h": 279.3
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#1A0D5A
secondary
#83942E
accent
#F136D2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #1A0D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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