#180A29#180A29

#180A29 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.061 H 301.5°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#180A29
RGBrgb(24, 10, 41)
HSLhsl(267, 61%, 10%)
HSVhsv(267, 76%, 16%)
CMYKcmyk(41.5%, 75.6%, 0%, 83.9%)
CIE-LABlab(5.16, 13.99, -17.66)
CIE-LCHlch(5.16, 22.53, 308.38°)
OKLaboklab(18.55% 0.032 -0.0521)
OKLCHoklch(18.55% 0.061 301.5)
XYZxyz(0.8854, 0.5714, 2.1610)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A29 #1B290A
analogous
#0A0B29 #180A29 #280A29
triadic
#180A29 #29180A #0A2918
tetradic
#180A29 #290A0B #1B290A #0A2928
square
#180A29 #290A0B #1B290A #0A2928
split-complementary
#180A29 #29280A #0B290A
monochromatic
#0E0619 #0E0619 #180A29 #35165A #52228B

Accessibility & contrast

On white

18.85
#180A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180A29
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A29#FFFFFF#000000##FFFFFF
##180A291.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112A
Deuteranopia (green-blind)
#031128
Tritanopia (blue-blind)
#151018
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180a29;
/* rgb */ color: rgb(24, 10, 41);
/* oklch */ color: oklch(18.6% 0.061 301.5);
Tailwind
colors: {
  custom: {
    50: '#554b63',
    500: '#180a29',
    950: '#000000',
  },
}
SCSS
$custom: #180a29;
$custom-light: #554b63;
$custom-dark: #000000;
JSON
{
  "hex": "#180a29",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 267.097,
    "s": 60.784,
    "l": 10
  },
  "oklch": {
    "l": 0.18554,
    "c": 0.06116,
    "h": 301.5
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#180A29
secondary
#4A6629
accent
#E4449C
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #180A29

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

Preview Lab → · Contrast checker → · Palette generator →

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