#180441#180441

#180441 is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.1% C 0.104 H 288.5°. Best body text is #FFFFFF at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#180441
RGBrgb(24, 4, 65)
HSLhsl(260, 88%, 14%)
HSVhsv(260, 94%, 25%)
CMYKcmyk(63.1%, 93.8%, 0%, 74.5%)
CIE-LABlab(5.99, 27.04, -33.98)
CIE-LCHlch(5.99, 43.42, 308.51°)
OKLaboklab(20.08% 0.033 -0.0988)
OKLCHoklch(20.08% 0.104 288.5)
XYZxyz(1.3740, 0.6626, 5.0555)
Luminance0.0066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180441 #2D4104
analogous
#040E41 #180441 #360441
triadic
#180441 #411804 #044118
tetradic
#180441 #41040E #2D4104 #044136
square
#180441 #41040E #2D4104 #044136
split-complementary
#180441 #413604 #0E4104
monochromatic
#0B021D #0B021D #180441 #2D087B #430BB4

Accessibility & contrast

On white

18.54
#180441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180441
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180441#FFFFFF#000000##FFFFFF
##1804411.0018.541.1318.54
#FFFFFF18.541.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001543
Deuteranopia (green-blind)
#001240
Tritanopia (blue-blind)
#061623
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180441;
/* rgb */ color: rgb(24, 4, 65);
/* oklch */ color: oklch(20.1% 0.104 288.5);
Tailwind
colors: {
  custom: {
    50: '#5b4776',
    500: '#180441',
    950: '#000000',
  },
}
SCSS
$custom: #180441;
$custom-light: #5b4776;
$custom-dark: #000000;
JSON
{
  "hex": "#180441",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 259.672,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.20077,
    "c": 0.10413,
    "h": 288.5
  },
  "luminance": 0.00663
}

Semantic roles & 50–950 ramp

primary
#180441
secondary
#62821F
accent
#FF29B9
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #180441

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

Preview Lab → · Contrast checker → · Palette generator →

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