#180A49#180A49

#180A49 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.107 H 283.3°. Best body text is #FFFFFF at 17.82:1 contrast (WCAG AA passes).

Color values

HEX#180A49
RGBrgb(24, 10, 73)
HSLhsl(253, 76%, 16%)
HSVhsv(253, 86%, 29%)
CMYKcmyk(67.1%, 86.3%, 0%, 71.4%)
CIE-LABlab(8.06, 26.74, -36.22)
CIE-LCHlch(8.06, 45.02, 306.43°)
OKLaboklab(21.94% 0.0246 -0.1044)
OKLCHoklch(21.94% 0.107 283.3)
XYZxyz(1.6875, 0.8922, 6.3853)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180A49 #3B490A
analogous
#0A1C49 #180A49 #380A49
triadic
#180A49 #49180A #0A4918
tetradic
#180A49 #490A1C #3B490A #0A4938
square
#180A49 #490A1C #3B490A #0A4938
split-complementary
#180A49 #49380A #1C490A
monochromatic
#09041B #09041B #180A49 #2A117F #3B19B5

Accessibility & contrast

On white

17.82
#180A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#180A49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180A49
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180A49#FFFFFF#000000##FFFFFF
##180A491.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A4B
Deuteranopia (green-blind)
#001548
Tritanopia (blue-blind)
#001C29
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #180a49;
/* rgb */ color: rgb(24, 10, 73);
/* oklch */ color: oklch(21.9% 0.107 283.3);
Tailwind
colors: {
  custom: {
    50: '#5d4b7d',
    500: '#180a49',
    950: '#000000',
  },
}
SCSS
$custom: #180a49;
$custom-light: #5d4b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#180a49",
  "rgb": {
    "r": 24,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 253.333,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.21939,
    "c": 0.1073,
    "h": 283.3
  },
  "luminance": 0.00892
}

Semantic roles & 50–950 ramp

primary
#180A49
secondary
#718629
accent
#F235C8
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #180A49

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

Preview Lab → · Contrast checker → · Palette generator →

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