#18092E#18092E

#18092E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.071 H 297.9°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#18092E
RGBrgb(24, 9, 46)
HSLhsl(264, 67%, 11%)
HSVhsv(264, 80%, 18%)
CMYKcmyk(47.8%, 80.4%, 0%, 82%)
CIE-LABlab(5.30, 16.55, -21.21)
CIE-LCHlch(5.30, 26.90, 307.96°)
OKLaboklab(18.83% 0.033 -0.0623)
OKLCHoklch(18.83% 0.071 297.9)
XYZxyz(0.9674, 0.5868, 2.6465)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18092E #1F2E09
analogous
#090C2E #18092E #2A092E
triadic
#18092E #2E1809 #092E18
tetradic
#18092E #2E090C #1F2E09 #092E2A
square
#18092E #2E090C #1F2E09 #092E2A
split-complementary
#18092E #2E2A09 #0C2E09
monochromatic
#0D051A #0D051A #18092E #331361 #4D1D94

Accessibility & contrast

On white

18.79
#18092E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18092E
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18092E#FFFFFF#000000##FFFFFF
##18092E1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#13121A
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #18092e;
/* rgb */ color: rgb(24, 9, 46);
/* oklch */ color: oklch(18.8% 0.071 297.9);
Tailwind
colors: {
  custom: {
    50: '#564a67',
    500: '#18092e',
    950: '#000000',
  },
}
SCSS
$custom: #18092e;
$custom-light: #564a67;
$custom-dark: #000000;
JSON
{
  "hex": "#18092e",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 46
  },
  "hsl": {
    "h": 264.324,
    "s": 67.273,
    "l": 10.784
  },
  "oklch": {
    "l": 0.1883,
    "c": 0.07052,
    "h": 297.9
  },
  "luminance": 0.00587
}

Semantic roles & 50–950 ramp

primary
#18092E
secondary
#506C27
accent
#EA3EA4
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #18092E

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

Preview Lab → · Contrast checker → · Palette generator →

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