#18084B#18084B

#18084B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.112 H 283.1°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#18084B
RGBrgb(24, 8, 75)
HSLhsl(254, 81%, 16%)
HSVhsv(254, 89%, 29%)
CMYKcmyk(68%, 89.3%, 0%, 70.6%)
CIE-LABlab(7.91, 28.54, -37.86)
CIE-LCHlch(7.91, 47.42, 307.01°)
OKLaboklab(21.91% 0.0254 -0.1092)
OKLCHoklch(21.91% 0.112 283.1)
XYZxyz(1.7331, 0.8757, 6.7330)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18084B #3B4B08
analogous
#081A4B #18084B #3A084B
triadic
#18084B #4B1808 #084B18
tetradic
#18084B #4B081A #3B4B08 #084B3A
square
#18084B #4B081A #3B4B08 #084B3A
split-complementary
#18084B #4B3A08 #1A4B08
monochromatic
#09031C #09031C #18084B #2A0E82 #3B14BA

Accessibility & contrast

On white

17.87
#18084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#18084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18084B
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18084B#FFFFFF#000000##FFFFFF
##18084B1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194D
Deuteranopia (green-blind)
#00154A
Tritanopia (blue-blind)
#001C2A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #18084b;
/* rgb */ color: rgb(24, 8, 75);
/* oklch */ color: oklch(21.9% 0.112 283.1);
Tailwind
colors: {
  custom: {
    50: '#5e4a7e',
    500: '#18084b',
    950: '#000000',
  },
}
SCSS
$custom: #18084b;
$custom-light: #5e4a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#18084b",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 254.328,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21908,
    "c": 0.1121,
    "h": 283.1
  },
  "luminance": 0.00876
}

Semantic roles & 50–950 ramp

primary
#18084B
secondary
#718926
accent
#F731C8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #18084B

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

Preview Lab → · Contrast checker → · Palette generator →

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