#180A26#180A26

#180A26 is a very dark, muted violet. Relative luminance 0.006; OKLCH L 18.3% C 0.057 H 304.5°. Best body text is #FFFFFF at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#180A26
RGBrgb(24, 10, 38)
HSLhsl(270, 58%, 9%)
HSVhsv(270, 74%, 15%)
CMYKcmyk(36.8%, 73.7%, 0%, 85.1%)
CIE-LABlab(4.98, 12.74, -15.67)
CIE-LCHlch(4.98, 20.20, 309.13°)
OKLaboklab(18.3% 0.032 -0.0466)
OKLCHoklch(18.3% 0.057 304.5)
XYZxyz(0.8350, 0.5512, 1.8958)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A26 #18260A
analogous
#0A0A26 #180A26 #260A26
triadic
#180A26 #26180A #0A2618
tetradic
#180A26 #260A0A #18260A #0A2626
square
#180A26 #260A0A #18260A #0A2626
split-complementary
#180A26 #26260A #0A260A
monochromatic
#0F0618 #0F0618 #180A26 #371756 #552487

Accessibility & contrast

On white

18.92
#180A26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180A26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A26
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A26#FFFFFF#000000##FFFFFF
##180A261.0018.921.1118.92
#FFFFFF18.921.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021027
Deuteranopia (green-blind)
#051125
Tritanopia (blue-blind)
#160F16
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180a26;
/* rgb */ color: rgb(24, 10, 38);
/* oklch */ color: oklch(18.3% 0.057 304.5);
Tailwind
colors: {
  custom: {
    50: '#554b60',
    500: '#180a26',
    950: '#000000',
  },
}
SCSS
$custom: #180a26;
$custom-light: #554b60;
$custom-dark: #000000;
JSON
{
  "hex": "#180a26",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 38
  },
  "hsl": {
    "h": 270,
    "s": 58.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18295,
    "c": 0.05653,
    "h": 304.5
  },
  "luminance": 0.00551
}

Semantic roles & 50–950 ramp

primary
#180A26
secondary
#466229
accent
#E24694
background
#F5F4F5
surface
#E8E7E9
border
#C4C3C5
text
#030105
muted
#787779

Preview Lab

Preview with #180A26

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

Preview Lab → · Contrast checker → · Palette generator →

#180A26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva