#180822#180822

#180822 is a very dark, muted violet. Relative luminance 0.005; OKLCH L 17.6% C 0.055 H 310.5°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#180822
RGBrgb(24, 8, 34)
HSLhsl(277, 62%, 8%)
HSVhsv(277, 76%, 13%)
CMYKcmyk(29.4%, 76.5%, 0%, 86.7%)
CIE-LABlab(4.37, 11.99, -13.53)
CIE-LCHlch(4.37, 18.08, 311.55°)
OKLaboklab(17.55% 0.0355 -0.0417)
OKLCHoklch(17.55% 0.055 310.5)
XYZxyz(0.7522, 0.4834, 1.5667)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180822 #122208
analogous
#0B0822 #180822 #22081F
triadic
#180822 #221808 #082218
tetradic
#180822 #220B08 #122208 #081F22
square
#180822 #220B08 #122208 #081F22
split-complementary
#180822 #1F2208 #08220B
monochromatic
#110619 #110619 #180822 #3B1454 #5E1F85

Accessibility & contrast

On white

19.15
#180822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#180822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180822
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180822#FFFFFF#000000##FFFFFF
##1808221.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#020E23
Deuteranopia (green-blind)
#060F21
Tritanopia (blue-blind)
#170D13
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #180822;
/* rgb */ color: rgb(24, 8, 34);
/* oklch */ color: oklch(17.6% 0.055 310.5);
Tailwind
colors: {
  custom: {
    50: '#544a5d',
    500: '#180822',
    950: '#000000',
  },
}
SCSS
$custom: #180822;
$custom-light: #544a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#180822",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 276.923,
    "s": 61.905,
    "l": 8.235
  },
  "oklch": {
    "l": 0.17551,
    "c": 0.05478,
    "h": 310.5
  },
  "luminance": 0.00483
}

Semantic roles & 50–950 ramp

primary
#180822
secondary
#3C6026
accent
#E54381
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#030104
muted
#787779

Preview Lab

Preview with #180822

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

Preview Lab → · Contrast checker → · Palette generator →

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