#180432#180432

#180432 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.085 H 297.6°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#180432
RGBrgb(24, 4, 50)
HSLhsl(266, 85%, 11%)
HSVhsv(266, 92%, 20%)
CMYKcmyk(52%, 92%, 0%, 80.4%)
CIE-LABlab(4.62, 20.53, -25.28)
CIE-LCHlch(4.62, 32.57, 309.08°)
OKLaboklab(18.29% 0.0395 -0.0755)
OKLCHoklch(18.29% 0.085 297.6)
XYZxyz(0.9957, 0.5113, 3.0632)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180432 #1E3204
analogous
#040732 #180432 #2F0432
triadic
#180432 #321804 #043218
tetradic
#180432 #320407 #1E3204 #04322F
square
#180432 #320407 #1E3204 #04322F
split-complementary
#180432 #322F04 #073204
monochromatic
#0E021C #0E021C #180432 #33096B #4E0DA3

Accessibility & contrast

On white

19.05
#180432 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#180432 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180432
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180432#FFFFFF#000000##FFFFFF
##1804321.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001033
Deuteranopia (green-blind)
#000F31
Tritanopia (blue-blind)
#11101A
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180432;
/* rgb */ color: rgb(24, 4, 50);
/* oklch */ color: oklch(18.3% 0.085 297.6);
Tailwind
colors: {
  custom: {
    50: '#57476a',
    500: '#180432',
    950: '#000000',
  },
}
SCSS
$custom: #180432;
$custom-light: #57476a;
$custom-dark: #000000;
JSON
{
  "hex": "#180432",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 50
  },
  "hsl": {
    "h": 266.087,
    "s": 85.185,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18293,
    "c": 0.08524,
    "h": 297.6
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#180432
secondary
#4F741D
accent
#FB2CA1
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180432

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

Preview Lab → · Contrast checker → · Palette generator →

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