#18092F#18092F

#18092F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.072 H 297.1°. Best body text is #FFFFFF at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#18092F
RGBrgb(24, 9, 47)
HSLhsl(264, 68%, 11%)
HSVhsv(264, 81%, 18%)
CMYKcmyk(48.9%, 80.9%, 0%, 81.6%)
CIE-LABlab(5.37, 16.97, -21.84)
CIE-LCHlch(5.37, 27.66, 307.85°)
OKLaboklab(18.93% 0.0328 -0.0641)
OKLCHoklch(18.93% 0.072 297.1)
XYZxyz(0.9873, 0.5948, 2.7516)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18092F #202F09
analogous
#090D2F #18092F #2B092F
triadic
#18092F #2F1809 #092F18
tetradic
#18092F #2F090D #202F09 #092F2B
square
#18092F #2F090D #202F09 #092F2B
split-complementary
#18092F #2F2B09 #0D2F09
monochromatic
#0D051A #0D051A #18092F #321362 #4C1D96

Accessibility & contrast

On white

18.77
#18092F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18092F
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18092F#FFFFFF#000000##FFFFFF
##18092F1.0018.771.1218.77
#FFFFFF18.771.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001230
Deuteranopia (green-blind)
#00112E
Tritanopia (blue-blind)
#12121A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #18092f;
/* rgb */ color: rgb(24, 9, 47);
/* oklch */ color: oklch(18.9% 0.072 297.1);
Tailwind
colors: {
  custom: {
    50: '#574a68',
    500: '#18092f',
    950: '#000000',
  },
}
SCSS
$custom: #18092f;
$custom-light: #574a68;
$custom-dark: #000000;
JSON
{
  "hex": "#18092f",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 47
  },
  "hsl": {
    "h": 263.684,
    "s": 67.857,
    "l": 10.98
  },
  "oklch": {
    "l": 0.18927,
    "c": 0.072,
    "h": 297.1
  },
  "luminance": 0.00595
}

Semantic roles & 50–950 ramp

primary
#18092F
secondary
#516D27
accent
#EB3DA6
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #18092F

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

Preview Lab → · Contrast checker → · Palette generator →

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