#1A0D52#1A0D52

#1A0D52 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.6% C 0.116 H 281.5°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#1A0D52
RGBrgb(26, 13, 82)
HSLhsl(251, 73%, 19%)
HSVhsv(251, 84%, 32%)
CMYKcmyk(68.3%, 84.1%, 0%, 67.8%)
CIE-LABlab(9.93, 28.38, -39.37)
CIE-LCHlch(9.93, 48.53, 305.79°)
OKLaboklab(23.61% 0.023 -0.1136)
OKLCHoklch(23.61% 0.116 281.5)
XYZxyz(2.0924, 1.1165, 8.0862)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0D52 #45520D
analogous
#0D2252 #1A0D52 #3C0D52
triadic
#1A0D52 #521A0D #0D521A
tetradic
#1A0D52 #520D22 #45520D #0D523C
square
#1A0D52 #520D22 #45520D #0D523C
split-complementary
#1A0D52 #523C0D #22520D
monochromatic
#08041A #09051D #1A0D52 #2B1587 #3B1EBC

Accessibility & contrast

On white

17.17
#1A0D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0D52
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0D52#FFFFFF#000000##FFFFFF
##1A0D521.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E54
Deuteranopia (green-blind)
#001951
Tritanopia (blue-blind)
#00212F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #1a0d52;
/* rgb */ color: rgb(26, 13, 82);
/* oklch */ color: oklch(23.6% 0.116 281.5);
Tailwind
colors: {
  custom: {
    50: '#604e83',
    500: '#1a0d52',
    950: '#000000',
  },
}
SCSS
$custom: #1a0d52;
$custom-light: #604e83;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0d52",
  "rgb": {
    "r": 26,
    "g": 13,
    "b": 82
  },
  "hsl": {
    "h": 251.304,
    "s": 72.632,
    "l": 18.627
  },
  "oklch": {
    "l": 0.23614,
    "c": 0.11589,
    "h": 281.5
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#1A0D52
secondary
#7B8D2E
accent
#EF38CD
background
#F5F4F8
surface
#EAE7EF
border
#C6C3CA
text
#05010B
muted
#79777C

Preview Lab

Preview with #1A0D52

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

Preview Lab → · Contrast checker → · Palette generator →

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