#180D35#180D35

#180D35 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.2% C 0.074 H 290.9°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#180D35
RGBrgb(24, 13, 53)
HSLhsl(257, 61%, 13%)
HSVhsv(257, 75%, 21%)
CMYKcmyk(54.7%, 75.5%, 0%, 79.2%)
CIE-LABlab(6.68, 17.48, -24.18)
CIE-LCHlch(6.68, 29.84, 305.86°)
OKLaboklab(20.24% 0.0266 -0.0696)
OKLCHoklch(20.24% 0.074 290.9)
XYZxyz(1.1630, 0.7390, 3.4488)
Luminance0.0074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180D35 #2A350D
analogous
#0D1635 #180D35 #2C0D35
triadic
#180D35 #35180D #0D3518
tetradic
#180D35 #350D16 #2A350D #0D352C
square
#180D35 #350D16 #2A350D #0D352C
split-complementary
#180D35 #352C0D #16350D
monochromatic
#0B0619 #0B0619 #180D35 #2E1966 #452597

Accessibility & contrast

On white

18.30
#180D35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#180D35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180D35
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180D35#FFFFFF#000000##FFFFFF
##180D351.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#001434
Tritanopia (blue-blind)
#0F161F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #180d35;
/* rgb */ color: rgb(24, 13, 53);
/* oklch */ color: oklch(20.2% 0.074 290.9);
Tailwind
colors: {
  custom: {
    50: '#584c6c',
    500: '#180d35',
    950: '#000000',
  },
}
SCSS
$custom: #180d35;
$custom-light: #584c6c;
$custom-dark: #000000;
JSON
{
  "hex": "#180d35",
  "rgb": {
    "r": 24,
    "g": 13,
    "b": 53
  },
  "hsl": {
    "h": 256.5,
    "s": 60.606,
    "l": 12.941
  },
  "oklch": {
    "l": 0.20243,
    "c": 0.07447,
    "h": 290.9
  },
  "luminance": 0.00739
}

Semantic roles & 50–950 ramp

primary
#180D35
secondary
#5E702D
accent
#E444B8
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030107
muted
#78777A

Preview Lab

Preview with #180D35

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

Preview Lab → · Contrast checker → · Palette generator →

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