#180A44#180A44

#180A44 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.100 H 285.2°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#180A44
RGBrgb(24, 10, 68)
HSLhsl(254, 74%, 15%)
HSVhsv(254, 85%, 27%)
CMYKcmyk(64.7%, 85.3%, 0%, 73.3%)
CIE-LABlab(7.48, 24.98, -33.65)
CIE-LCHlch(7.48, 41.91, 306.58°)
OKLaboklab(21.35% 0.0263 -0.097)
OKLCHoklch(21.35% 0.1 285.2)
XYZxyz(1.5283, 0.8285, 5.5471)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A44 #36440A
analogous
#0A1944 #180A44 #350A44
triadic
#180A44 #44180A #0A4418
tetradic
#180A44 #440A19 #36440A #0A4435
square
#180A44 #440A19 #36440A #0A4435
split-complementary
#180A44 #44350A #19440A
monochromatic
#09041B #09041B #180A44 #2B1279 #3E1AAF

Accessibility & contrast

On white

18.01
#180A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#180A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A44
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A44#FFFFFF#000000##FFFFFF
##180A441.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001543
Tritanopia (blue-blind)
#031A26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #180a44;
/* rgb */ color: rgb(24, 10, 68);
/* oklch */ color: oklch(21.4% 0.100 285.2);
Tailwind
colors: {
  custom: {
    50: '#5c4b79',
    500: '#180a44',
    950: '#000000',
  },
}
SCSS
$custom: #180a44;
$custom-light: #5c4b79;
$custom-dark: #000000;
JSON
{
  "hex": "#180a44",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 68
  },
  "hsl": {
    "h": 254.483,
    "s": 74.359,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21352,
    "c": 0.10049,
    "h": 285.2
  },
  "luminance": 0.00829
}

Semantic roles & 50–950 ramp

primary
#180A44
secondary
#6C8129
accent
#F137C4
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #180A44

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

Preview Lab → · Contrast checker → · Palette generator →

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