#1A0332#1A0332

#1A0332 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.4% C 0.088 H 300.8°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#1A0332
RGBrgb(26, 3, 50)
HSLhsl(269, 89%, 10%)
HSVhsv(269, 94%, 20%)
CMYKcmyk(48%, 94%, 0%, 80.4%)
CIE-LABlab(4.65, 21.78, -25.21)
CIE-LCHlch(4.65, 33.31, 310.82°)
OKLaboklab(18.4% 0.0449 -0.0752)
OKLCHoklch(18.4% 0.088 300.8)
XYZxyz(1.0341, 0.5150, 3.0619)
Luminance0.0052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A0332 #1B3203
analogous
#030332 #1A0332 #310332
triadic
#1A0332 #321A03 #03321A
tetradic
#1A0332 #320303 #1B3203 #033231
square
#1A0332 #320303 #1B3203 #033231
split-complementary
#1A0332 #323103 #033203
monochromatic
#0F021D #0F021D #1A0332 #38066C #560AA5

Accessibility & contrast

On white

19.04
#1A0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#1A0332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A0332
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A0332#FFFFFF#000000##FFFFFF
##1A03321.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#140F1A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #1a0332;
/* rgb */ color: rgb(26, 3, 50);
/* oklch */ color: oklch(18.4% 0.088 300.8);
Tailwind
colors: {
  custom: {
    50: '#59476a',
    500: '#1a0332',
    950: '#000000',
  },
}
SCSS
$custom: #1a0332;
$custom-light: #59476a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a0332",
  "rgb": {
    "r": 26,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 269.362,
    "s": 88.679,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18398,
    "c": 0.08753,
    "h": 300.8
  },
  "luminance": 0.00515
}

Semantic roles & 50–950 ramp

primary
#1A0332
secondary
#49751B
accent
#FF2996
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040006
muted
#79777A

Preview Lab

Preview with #1A0332

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

Preview Lab → · Contrast checker → · Palette generator →

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