#180943#180943

#180943 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.100 H 285.9°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#180943
RGBrgb(24, 9, 67)
HSLhsl(256, 76%, 15%)
HSVhsv(256, 87%, 26%)
CMYKcmyk(64.2%, 86.6%, 0%, 73.7%)
CIE-LABlab(7.18, 25.15, -33.45)
CIE-LCHlch(7.18, 41.85, 306.94°)
OKLaboklab(21.09% 0.0275 -0.0965)
OKLCHoklch(21.09% 0.1 285.9)
XYZxyz(1.4872, 0.7947, 5.3841)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180943 #344309
analogous
#091743 #180943 #350943
triadic
#180943 #431809 #094318
tetradic
#180943 #430917 #344309 #094335
square
#180943 #430917 #344309 #094335
split-complementary
#180943 #433509 #174309
monochromatic
#0A041B #0A041B #180943 #2B1079 #3F17AF

Accessibility & contrast

On white

18.12
#180943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180943
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180943#FFFFFF#000000##FFFFFF
##1809431.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001745
Deuteranopia (green-blind)
#001442
Tritanopia (blue-blind)
#041A26
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #180943;
/* rgb */ color: rgb(24, 9, 67);
/* oklch */ color: oklch(21.1% 0.100 285.9);
Tailwind
colors: {
  custom: {
    50: '#5b4a78',
    500: '#180943',
    950: '#000000',
  },
}
SCSS
$custom: #180943;
$custom-light: #5b4a78;
$custom-dark: #000000;
JSON
{
  "hex": "#180943",
  "rgb": {
    "r": 24,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 255.517,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21091,
    "c": 0.1003,
    "h": 285.9
  },
  "luminance": 0.00795
}

Semantic roles & 50–950 ramp

primary
#180943
secondary
#6A8127
accent
#F335C2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #180943

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

Preview Lab → · Contrast checker → · Palette generator →

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