#180944#180944

#180944 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.102 H 285.5°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#180944
RGBrgb(24, 9, 68)
HSLhsl(255, 77%, 15%)
HSVhsv(255, 87%, 27%)
CMYKcmyk(64.7%, 86.8%, 0%, 73.3%)
CIE-LABlab(7.29, 25.52, -33.97)
CIE-LCHlch(7.29, 42.49, 306.91°)
OKLaboklab(21.21% 0.0271 -0.098)
OKLCHoklch(21.21% 0.102 285.5)
XYZxyz(1.5174, 0.8068, 5.5435)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180944 #354409
analogous
#091844 #180944 #350944
triadic
#180944 #441809 #094418
tetradic
#180944 #440918 #354409 #094435
square
#180944 #440918 #354409 #094435
split-complementary
#180944 #443509 #184409
monochromatic
#0A041B #0A041B #180944 #2B107A #3E17B0

Accessibility & contrast

On white

18.08
#180944 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#180944 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180944
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180944#FFFFFF#000000##FFFFFF
##1809441.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001846
Deuteranopia (green-blind)
#001443
Tritanopia (blue-blind)
#031A26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #180944;
/* rgb */ color: rgb(24, 9, 68);
/* oklch */ color: oklch(21.2% 0.102 285.5);
Tailwind
colors: {
  custom: {
    50: '#5c4a79',
    500: '#180944',
    950: '#000000',
  },
}
SCSS
$custom: #180944;
$custom-light: #5c4a79;
$custom-dark: #000000;
JSON
{
  "hex": "#180944",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 68
  },
  "hsl": {
    "h": 255.254,
    "s": 76.623,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21207,
    "c": 0.10166,
    "h": 285.5
  },
  "luminance": 0.00807
}

Semantic roles & 50–950 ramp

primary
#180944
secondary
#6B8227
accent
#F335C3
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #180944

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

Preview Lab → · Contrast checker → · Palette generator →

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