#18092A#18092A

#18092A is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.5% C 0.065 H 301.2°. Best body text is #FFFFFF at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#18092A
RGBrgb(24, 9, 42)
HSLhsl(267, 65%, 10%)
HSVhsv(267, 79%, 16%)
CMYKcmyk(42.9%, 78.6%, 0%, 83.5%)
CIE-LABlab(5.03, 14.83, -18.63)
CIE-LCHlch(5.03, 23.81, 308.53°)
OKLaboklab(18.45% 0.0335 -0.0552)
OKLCHoklch(18.45% 0.065 301.2)
XYZxyz(0.8922, 0.5567, 2.2505)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18092A #1B2A09
analogous
#090A2A #18092A #29092A
triadic
#18092A #2A1809 #092A18
tetradic
#18092A #2A090A #1B2A09 #092A29
square
#18092A #2A090A #1B2A09 #092A29
split-complementary
#18092A #2A2909 #0A2A09
monochromatic
#0E0519 #0E0519 #18092A #35145C #521F8F

Accessibility & contrast

On white

18.90
#18092A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#18092A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18092A
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18092A#FFFFFF#000000##FFFFFF
##18092A1.0018.901.1118.90
#FFFFFF18.901.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112B
Deuteranopia (green-blind)
#011129
Tritanopia (blue-blind)
#141018
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #18092a;
/* rgb */ color: rgb(24, 9, 42);
/* oklch */ color: oklch(18.5% 0.065 301.2);
Tailwind
colors: {
  custom: {
    50: '#564a63',
    500: '#18092a',
    950: '#000000',
  },
}
SCSS
$custom: #18092a;
$custom-light: #564a63;
$custom-dark: #000000;
JSON
{
  "hex": "#18092a",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 42
  },
  "hsl": {
    "h": 267.273,
    "s": 64.706,
    "l": 10
  },
  "oklch": {
    "l": 0.18452,
    "c": 0.06456,
    "h": 301.2
  },
  "luminance": 0.00557
}

Semantic roles & 50–950 ramp

primary
#18092A
secondary
#4A6827
accent
#E8409C
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #18092A

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

Preview Lab → · Contrast checker → · Palette generator →

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