#180836#180836

#180836 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.5% C 0.084 H 292.9°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#180836
RGBrgb(24, 8, 54)
HSLhsl(261, 74%, 12%)
HSVhsv(261, 85%, 21%)
CMYKcmyk(55.6%, 85.2%, 0%, 78.8%)
CIE-LABlab(5.73, 20.43, -26.44)
CIE-LCHlch(5.73, 33.42, 307.69°)
OKLaboklab(19.47% 0.0326 -0.0771)
OKLCHoklch(19.47% 0.084 292.9)
XYZxyz(1.1292, 0.6342, 3.5522)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180836 #263608
analogous
#080F36 #180836 #2F0836
triadic
#180836 #361808 #083618
tetradic
#180836 #36080F #263608 #08362F
square
#180836 #36080F #263608 #08362F
split-complementary
#180836 #362F08 #0F3608
monochromatic
#0C041B #0C041B #180836 #30106B #4718A1

Accessibility & contrast

On white

18.64
#180836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#180836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180836
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180836#FFFFFF#000000##FFFFFF
##1808361.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001235
Tritanopia (blue-blind)
#0F141E
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180836;
/* rgb */ color: rgb(24, 8, 54);
/* oklch */ color: oklch(19.5% 0.084 292.9);
Tailwind
colors: {
  custom: {
    50: '#58496d',
    500: '#180836',
    950: '#000000',
  },
}
SCSS
$custom: #180836;
$custom-light: #58496d;
$custom-dark: #000000;
JSON
{
  "hex": "#180836",
  "rgb": {
    "r": 24,
    "g": 8,
    "b": 54
  },
  "hsl": {
    "h": 260.87,
    "s": 74.194,
    "l": 12.157
  },
  "oklch": {
    "l": 0.1947,
    "c": 0.0837,
    "h": 292.9
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#180836
secondary
#597525
accent
#F137B0
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040107
muted
#79777A

Preview Lab

Preview with #180836

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

Preview Lab → · Contrast checker → · Palette generator →

#180836 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva