#1A0832#1A0832

#1A0832 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.078 H 298.4°. Best body text is #FFFFFF at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#1A0832
RGBrgb(26, 8, 50)
HSLhsl(266, 72%, 11%)
HSVhsv(266, 84%, 20%)
CMYKcmyk(48%, 84%, 0%, 80.4%)
CIE-LABlab(5.63, 19.45, -23.64)
CIE-LCHlch(5.63, 30.62, 309.45°)
OKLaboklab(19.32% 0.0372 -0.0689)
OKLCHoklch(19.32% 0.078 298.4)
XYZxyz(1.0884, 0.6236, 3.0800)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0832 #203208
analogous
#080B32 #1A0832 #2F0832
triadic
#1A0832 #321A08 #08321A
tetradic
#1A0832 #32080B #203208 #08322F
square
#1A0832 #32080B #203208 #08322F
split-complementary
#1A0832 #322F08 #0B3208
monochromatic
#0E041A #0E041A #1A0832 #351067 #51199C

Accessibility & contrast

On white

18.67
#1A0832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#1A0832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0832
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0832#FFFFFF#000000##FFFFFF
##1A08321.0018.671.1218.67
#FFFFFF18.671.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#001231
Tritanopia (blue-blind)
#14121C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #1a0832;
/* rgb */ color: rgb(26, 8, 50);
/* oklch */ color: oklch(19.3% 0.078 298.4);
Tailwind
colors: {
  custom: {
    50: '#59496a',
    500: '#1a0832',
    950: '#000000',
  },
}
SCSS
$custom: #1a0832;
$custom-light: #59496a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0832",
  "rgb": {
    "r": 26,
    "g": 8,
    "b": 50
  },
  "hsl": {
    "h": 265.714,
    "s": 72.414,
    "l": 11.373
  },
  "oklch": {
    "l": 0.19323,
    "c": 0.07831,
    "h": 298.4
  },
  "luminance": 0.00624
}

Semantic roles & 50–950 ramp

primary
#1A0832
secondary
#507125
accent
#EF39A1
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1A0832

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

Preview Lab → · Contrast checker → · Palette generator →

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