#1A0C55#1A0C55

#1A0C55 is a very dark, vivid violet. Relative luminance 0.011; OKLCH L 23.8% C 0.121 H 280.8°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#1A0C55
RGBrgb(26, 12, 85)
HSLhsl(252, 75%, 19%)
HSVhsv(252, 86%, 33%)
CMYKcmyk(69.4%, 85.9%, 0%, 66.7%)
CIE-LABlab(10.09, 29.95, -41.14)
CIE-LCHlch(10.09, 50.89, 306.05°)
OKLaboklab(23.84% 0.0227 -0.1187)
OKLCHoklch(23.84% 0.121 280.8)
XYZxyz(2.1966, 1.1383, 8.6965)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0C55 #47550C
analogous
#0C2355 #1A0C55 #3F0C55
triadic
#1A0C55 #551A0C #0C551A
tetradic
#1A0C55 #550C23 #47550C #0C553F
square
#1A0C55 #550C23 #47550C #0C553F
split-complementary
#1A0C55 #553F0C #23550C
monochromatic
#08041B #0A041F #1A0C55 #2A148B #3B1BC0

Accessibility & contrast

On white

17.11
#1A0C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0C55
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0C55#FFFFFF#000000##FFFFFF
##1A0C551.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0c55;
/* rgb */ color: rgb(26, 12, 85);
/* oklch */ color: oklch(23.8% 0.121 280.8);
Tailwind
colors: {
  custom: {
    50: '#614d86',
    500: '#1a0c55',
    950: '#000000',
  },
}
SCSS
$custom: #1a0c55;
$custom-light: #614d86;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0c55",
  "rgb": {
    "r": 26,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 251.507,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.23837,
    "c": 0.12089,
    "h": 280.8
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A0C55

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

Preview Lab → · Contrast checker → · Palette generator →

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