#180E36#180E36

#180E36 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.5% C 0.074 H 289.7°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#180E36
RGBrgb(24, 14, 54)
HSLhsl(255, 59%, 13%)
HSVhsv(255, 74%, 21%)
CMYKcmyk(55.6%, 74.1%, 0%, 78.8%)
CIE-LABlab(7.00, 17.28, -24.40)
CIE-LCHlch(7.00, 29.90, 305.31°)
OKLaboklab(20.53% 0.0251 -0.07)
OKLCHoklch(20.53% 0.074 289.7)
XYZxyz(1.1994, 0.7746, 3.5756)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180E36 #2C360E
analogous
#0E1836 #180E36 #2C0E36
triadic
#180E36 #36180E #0E3618
tetradic
#180E36 #360E18 #2C360E #0E362C
square
#180E36 #360E18 #2C360E #0E362C
split-complementary
#180E36 #362C0E #18360E
monochromatic
#0B0618 #0B0618 #180E36 #2E1B67 #432797

Accessibility & contrast

On white

18.18
#180E36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#180E36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180E36
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180E36#FFFFFF#000000##FFFFFF
##180E361.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001637
Deuteranopia (green-blind)
#001535
Tritanopia (blue-blind)
#0E1720
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #180e36;
/* rgb */ color: rgb(24, 14, 54);
/* oklch */ color: oklch(20.5% 0.074 289.7);
Tailwind
colors: {
  custom: {
    50: '#584d6d',
    500: '#180e36',
    950: '#000000',
  },
}
SCSS
$custom: #180e36;
$custom-light: #584d6d;
$custom-dark: #000000;
JSON
{
  "hex": "#180e36",
  "rgb": {
    "r": 24,
    "g": 14,
    "b": 54
  },
  "hsl": {
    "h": 255,
    "s": 58.824,
    "l": 13.333
  },
  "oklch": {
    "l": 0.20531,
    "c": 0.0744,
    "h": 289.7
  },
  "luminance": 0.00775
}

Semantic roles & 50–950 ramp

primary
#180E36
secondary
#60712F
accent
#E246BB
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180E36

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

Preview Lab → · Contrast checker → · Palette generator →

#180E36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva