#180844#180844

#180844 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.103 H 285.8°. Best body text is #FFFFFF at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#180844
RGBrgb(24, 8, 68)
HSLhsl(256, 79%, 15%)
HSVhsv(256, 88%, 27%)
CMYKcmyk(64.7%, 88.2%, 0%, 73.3%)
CIE-LABlab(7.09, 26.07, -34.30)
CIE-LCHlch(7.09, 43.08, 307.24°)
OKLaboklab(21.06% 0.028 -0.099)
OKLCHoklch(21.06% 0.103 285.8)
XYZxyz(1.5066, 0.7851, 5.5399)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180844 #344408
analogous
#081644 #180844 #360844
triadic
#180844 #441808 #084418
tetradic
#180844 #440816 #344408 #084436
square
#180844 #440816 #344408 #084436
split-complementary
#180844 #443608 #164408
monochromatic
#0A031B #0A031B #180844 #2B0E7B #3F15B2

Accessibility & contrast

On white

18.15
#180844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#180844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180844
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180844#FFFFFF#000000##FFFFFF
##1808441.0018.151.1618.15
#FFFFFF18.151.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180844;
/* rgb */ color: rgb(24, 8, 68);
/* oklch */ color: oklch(21.1% 0.103 285.8);
Tailwind
colors: {
  custom: {
    50: '#5c4a79',
    500: '#180844',
    950: '#000000',
  },
}
SCSS
$custom: #180844;
$custom-light: #5c4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#180844",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 256,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21061,
    "c": 0.10285,
    "h": 285.8
  },
  "luminance": 0.00785
}

Semantic roles & 50–950 ramp

primary
#180844
secondary
#6A8226
accent
#F532C1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #180844

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

Preview Lab → · Contrast checker → · Palette generator →

#180844 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva