#180A37#180A37

#180A37 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 19.9% C 0.082 H 291.4°. Best body text is #FFFFFF at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#180A37
RGBrgb(24, 10, 55)
HSLhsl(259, 69%, 13%)
HSVhsv(259, 82%, 22%)
CMYKcmyk(56.4%, 81.8%, 0%, 78.4%)
CIE-LABlab(6.21, 19.88, -26.40)
CIE-LCHlch(6.21, 33.05, 306.98°)
OKLaboklab(19.92% 0.0299 -0.0765)
OKLCHoklch(19.92% 0.082 291.4)
XYZxyz(1.1746, 0.6871, 3.6844)
Luminance0.0069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A37 #29370A
analogous
#0A1237 #180A37 #2E0A37
triadic
#180A37 #37180A #0A3718
tetradic
#180A37 #370A12 #29370A #0A372E
square
#180A37 #370A12 #29370A #0A372E
split-complementary
#180A37 #372E0A #12370A
monochromatic
#0B051A #0B051A #180A37 #2F136B #451D9F

Accessibility & contrast

On white

18.46
#180A37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#180A37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A37
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A37#FFFFFF#000000##FFFFFF
##180A371.0018.461.1418.46
#FFFFFF18.461.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001438
Deuteranopia (green-blind)
#001336
Tritanopia (blue-blind)
#0E151F
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #180a37;
/* rgb */ color: rgb(24, 10, 55);
/* oklch */ color: oklch(19.9% 0.082 291.4);
Tailwind
colors: {
  custom: {
    50: '#584a6e',
    500: '#180a37',
    950: '#000000',
  },
}
SCSS
$custom: #180a37;
$custom-light: #584a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#180a37",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 55
  },
  "hsl": {
    "h": 258.667,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.19915,
    "c": 0.08211,
    "h": 291.4
  },
  "luminance": 0.00687
}

Semantic roles & 50–950 ramp

primary
#180A37
secondary
#5D7428
accent
#EC3CB5
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #180A37

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

Preview Lab → · Contrast checker → · Palette generator →

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