#180E2D#180E2D

#180E2D is a very dark, muted violet. Relative luminance 0.007; OKLCH L 19.7% C 0.060 H 295.2°. Best body text is #FFFFFF at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#180E2D
RGBrgb(24, 14, 45)
HSLhsl(259, 53%, 12%)
HSVhsv(259, 69%, 18%)
CMYKcmyk(46.7%, 68.9%, 0%, 82.4%)
CIE-LABlab(6.30, 13.70, -18.87)
CIE-LCHlch(6.30, 23.32, 305.97°)
OKLaboklab(19.71% 0.0256 -0.0542)
OKLCHoklch(19.71% 0.06 295.2)
XYZxyz(1.0073, 0.6977, 2.5637)
Luminance0.0070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E2D #232D0E
analogous
#0E142D #180E2D #280E2D
triadic
#180E2D #2D180E #0E2D18
tetradic
#180E2D #2D0E14 #232D0E #0E2D28
square
#180E2D #2D0E14 #232D0E #0E2D28
split-complementary
#180E2D #2D280E #142D0E
monochromatic
#0C0717 #0C0717 #180E2D #311D5C #4A2B8A

Accessibility & contrast

On white

18.43
#180E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#180E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E2D
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E2D#FFFFFF#000000##FFFFFF
##180E2D1.0018.431.1418.43
#FFFFFF18.431.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02142E
Deuteranopia (green-blind)
#04142C
Tritanopia (blue-blind)
#13141B
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #180e2d;
/* rgb */ color: rgb(24, 14, 45);
/* oklch */ color: oklch(19.7% 0.060 295.2);
Tailwind
colors: {
  custom: {
    50: '#564d66',
    500: '#180e2d',
    950: '#000000',
  },
}
SCSS
$custom: #180e2d;
$custom-light: #564d66;
$custom-dark: #000000;
JSON
{
  "hex": "#180e2d",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 259.355,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.19707,
    "c": 0.05996,
    "h": 295.2
  },
  "luminance": 0.00698
}

Semantic roles & 50–950 ramp

primary
#180E2D
secondary
#556730
accent
#DC4CAD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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