#1A0D50#1A0D50

#1A0D50 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.113 H 282.1°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#1A0D50
RGBrgb(26, 13, 80)
HSLhsl(252, 72%, 18%)
HSVhsv(252, 84%, 31%)
CMYKcmyk(67.5%, 83.7%, 0%, 68.6%)
CIE-LABlab(9.69, 27.70, -38.38)
CIE-LCHlch(9.69, 47.33, 305.82°)
OKLaboklab(23.38% 0.0237 -0.1107)
OKLCHoklch(23.38% 0.113 282.1)
XYZxyz(2.0174, 1.0865, 7.6913)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D50 #43500D
analogous
#0D2150 #1A0D50 #3B0D50
triadic
#1A0D50 #501A0D #0D501A
tetradic
#1A0D50 #500D21 #43500D #0D503B
square
#1A0D50 #500D21 #43500D #0D503B
split-complementary
#1A0D50 #503B0D #21500D
monochromatic
#09041A #09041B #1A0D50 #2B1685 #3C1EB9

Accessibility & contrast

On white

17.25
#1A0D50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0D50
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D50#FFFFFF#000000##FFFFFF
##1A0D501.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D52
Deuteranopia (green-blind)
#00184F
Tritanopia (blue-blind)
#00202E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a0d50;
/* rgb */ color: rgb(26, 13, 80);
/* oklch */ color: oklch(23.4% 0.113 282.1);
Tailwind
colors: {
  custom: {
    50: '#5f4d82',
    500: '#1a0d50',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d50;
$custom-light: #5f4d82;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d50",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 80
  },
  "hsl": {
    "h": 251.642,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2338,
    "c": 0.11319,
    "h": 282.1
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#1A0D50
secondary
#798B2E
accent
#EF39CC
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010A
muted
#79777C

Preview Lab

Preview with #1A0D50

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

Preview Lab → · Contrast checker → · Palette generator →

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