#18092B#18092B

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

Color values

HEX#18092B
RGBrgb(24, 9, 43)
HSLhsl(266, 65%, 10%)
HSVhsv(266, 79%, 17%)
CMYKcmyk(44.2%, 79.1%, 0%, 83.1%)
CIE-LABlab(5.09, 15.26, -19.28)
CIE-LCHlch(5.09, 24.59, 308.35°)
OKLaboklab(18.54% 0.0334 -0.057)
OKLCHoklch(18.54% 0.066 300.3)
XYZxyz(0.9103, 0.5640, 2.3459)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18092B #1C2B09
analogous
#090B2B #18092B #29092B
triadic
#18092B #2B1809 #092B18
tetradic
#18092B #2B090B #1C2B09 #092B29
square
#18092B #2B090B #1C2B09 #092B29
split-complementary
#18092B #2B2909 #0B2B09
monochromatic
#0E0519 #0E0519 #18092B #34145E #501E90

Accessibility & contrast

On white

18.87
#18092B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18092B
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18092B#FFFFFF#000000##FFFFFF
##18092B1.0018.871.1118.87
#FFFFFF18.871.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112C
Deuteranopia (green-blind)
#01112A
Tritanopia (blue-blind)
#141118
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #18092b;
/* rgb */ color: rgb(24, 9, 43);
/* oklch */ color: oklch(18.5% 0.066 300.3);
Tailwind
colors: {
  custom: {
    50: '#564a64',
    500: '#18092b',
    950: '#000000',
  },
}
SCSS
$custom: #18092b;
$custom-light: #564a64;
$custom-dark: #000000;
JSON
{
  "hex": "#18092b",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 43
  },
  "hsl": {
    "h": 266.471,
    "s": 65.385,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18544,
    "c": 0.06606,
    "h": 300.3
  },
  "luminance": 0.00564
}

Semantic roles & 50–950 ramp

primary
#18092B
secondary
#4C6927
accent
#E83F9E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #18092B

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

Preview Lab → · Contrast checker → · Palette generator →

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