#1A0C56#1A0C56

#1A0C56 is a very dark, vivid violet. Relative luminance 0.012; OKLCH L 24.0% C 0.122 H 280.5°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#1A0C56
RGBrgb(26, 12, 86)
HSLhsl(251, 76%, 19%)
HSVhsv(251, 86%, 34%)
CMYKcmyk(69.8%, 86%, 0%, 66.3%)
CIE-LABlab(10.22, 30.28, -41.62)
CIE-LCHlch(10.22, 51.47, 306.04°)
OKLaboklab(23.96% 0.0224 -0.1201)
OKLCHoklch(23.96% 0.122 280.5)
XYZxyz(2.2367, 1.1543, 8.9072)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0C56 #48560C
analogous
#0C2356 #1A0C56 #3F0C56
triadic
#1A0C56 #561A0C #0C561A
tetradic
#1A0C56 #560C23 #48560C #0C563F
square
#1A0C56 #560C23 #48560C #0C563F
split-complementary
#1A0C56 #563F0C #23560C
monochromatic
#08041B #0A0520 #1A0C56 #2A138C #3A1BC1

Accessibility & contrast

On white

17.06
#1A0C56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0C56
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0C56#FFFFFF#000000##FFFFFF
##1A0C561.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E58
Deuteranopia (green-blind)
#001955
Tritanopia (blue-blind)
#002231
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #1a0c56;
/* rgb */ color: rgb(26, 12, 86);
/* oklch */ color: oklch(24.0% 0.122 280.5);
Tailwind
colors: {
  custom: {
    50: '#614d87',
    500: '#1a0c56',
    950: '#000000',
  },
}
SCSS
$custom: #1a0c56;
$custom-light: #614d87;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0c56",
  "rgb": {
    "r": 26,
    "g": 12,
    "b": 86
  },
  "hsl": {
    "h": 251.351,
    "s": 75.51,
    "l": 19.216
  },
  "oklch": {
    "l": 0.23958,
    "c": 0.1222,
    "h": 280.5
  },
  "luminance": 0.01154
}

Semantic roles & 50–950 ramp

primary
#1A0C56
secondary
#7E912D
accent
#F236CE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#05010B
muted
#7A777C

Preview Lab

Preview with #1A0C56

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

Preview Lab → · Contrast checker → · Palette generator →

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