#1A0732#1A0732

#1A0732 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.080 H 298.9°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#1A0732
RGBrgb(26, 7, 50)
HSLhsl(267, 75%, 11%)
HSVhsv(267, 86%, 20%)
CMYKcmyk(48%, 86%, 0%, 80.4%)
CIE-LABlab(5.44, 19.93, -23.96)
CIE-LCHlch(5.44, 31.16, 309.76°)
OKLaboklab(19.15% 0.0387 -0.0701)
OKLCHoklch(19.15% 0.08 298.9)
XYZxyz(1.0776, 0.6018, 3.0764)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0732 #1F3207
analogous
#070932 #1A0732 #2F0732
triadic
#1A0732 #321A07 #07321A
tetradic
#1A0732 #320709 #1F3207 #07322F
square
#1A0732 #320709 #1F3207 #07322F
split-complementary
#1A0732 #322F07 #093207
monochromatic
#0E041B #0E041B #1A0732 #360F68 #52169D

Accessibility & contrast

On white

18.74
#1A0732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A0732
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0732#FFFFFF#000000##FFFFFF
##1A07321.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a0732;
/* rgb */ color: rgb(26, 7, 50);
/* oklch */ color: oklch(19.1% 0.080 298.9);
Tailwind
colors: {
  custom: {
    50: '#59496a',
    500: '#1a0732',
    950: '#000000',
  },
}
SCSS
$custom: #1a0732;
$custom-light: #59496a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0732",
  "rgb": {
    "r": 26,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 266.512,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19145,
    "c": 0.08005,
    "h": 298.9
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#1A0732
secondary
#4F7223
accent
#F2369F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #1A0732

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

Preview Lab → · Contrast checker → · Palette generator →

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