#18092C#18092C

#18092C is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.6% C 0.068 H 299.5°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#18092C
RGBrgb(24, 9, 44)
HSLhsl(266, 66%, 10%)
HSVhsv(266, 80%, 17%)
CMYKcmyk(45.5%, 79.5%, 0%, 82.7%)
CIE-LABlab(5.16, 15.69, -19.93)
CIE-LCHlch(5.16, 25.36, 308.21°)
OKLaboklab(18.64% 0.0333 -0.0588)
OKLCHoklch(18.64% 0.068 299.5)
XYZxyz(0.9289, 0.5714, 2.4437)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18092C #1D2C09
analogous
#090B2C #18092C #29092C
triadic
#18092C #2C1809 #092C18
tetradic
#18092C #2C090B #1D2C09 #092C29
square
#18092C #2C090B #1D2C09 #092C29
split-complementary
#18092C #2C2909 #0B2C09
monochromatic
#0E0519 #0E0519 #18092C #34135F #4F1E92

Accessibility & contrast

On white

18.85
#18092C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18092C
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18092C#FFFFFF#000000##FFFFFF
##18092C1.0018.851.1118.85
#FFFFFF18.851.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18092c;
/* rgb */ color: rgb(24, 9, 44);
/* oklch */ color: oklch(18.6% 0.068 299.5);
Tailwind
colors: {
  custom: {
    50: '#564a65',
    500: '#18092c',
    950: '#000000',
  },
}
SCSS
$custom: #18092c;
$custom-light: #564a65;
$custom-dark: #000000;
JSON
{
  "hex": "#18092c",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 44
  },
  "hsl": {
    "h": 265.714,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.18638,
    "c": 0.06755,
    "h": 299.5
  },
  "luminance": 0.00571
}

Semantic roles & 50–950 ramp

primary
#18092C
secondary
#4D6A27
accent
#E93FA0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #18092C

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

Preview Lab → · Contrast checker → · Palette generator →

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