#18092D#18092D

#18092D is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.069 H 298.7°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#18092D
RGBrgb(24, 9, 45)
HSLhsl(265, 67%, 11%)
HSVhsv(265, 80%, 18%)
CMYKcmyk(46.7%, 80%, 0%, 82.4%)
CIE-LABlab(5.23, 16.12, -20.57)
CIE-LCHlch(5.23, 26.13, 308.07°)
OKLaboklab(18.73% 0.0331 -0.0606)
OKLCHoklch(18.73% 0.069 298.7)
XYZxyz(0.9479, 0.5790, 2.5439)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18092D #1E2D09
analogous
#090C2D #18092D #2A092D
triadic
#18092D #2D1809 #092D18
tetradic
#18092D #2D090C #1E2D09 #092D2A
square
#18092D #2D090C #1E2D09 #092D2A
split-complementary
#18092D #2D2A09 #0C2D09
monochromatic
#0E051A #0E051A #18092D #331360 #4E1D93

Accessibility & contrast

On white

18.82
#18092D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#18092D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18092D
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18092D#FFFFFF#000000##FFFFFF
##18092D1.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#131119
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #18092d;
/* rgb */ color: rgb(24, 9, 45);
/* oklch */ color: oklch(18.7% 0.069 298.7);
Tailwind
colors: {
  custom: {
    50: '#564a66',
    500: '#18092d',
    950: '#000000',
  },
}
SCSS
$custom: #18092d;
$custom-light: #564a66;
$custom-dark: #000000;
JSON
{
  "hex": "#18092d",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 45
  },
  "hsl": {
    "h": 265,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18733,
    "c": 0.06904,
    "h": 298.7
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#18092D
secondary
#4F6B27
accent
#EA3EA2
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #18092D

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

Preview Lab → · Contrast checker → · Palette generator →

#18092D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva