#180132#180132

#180132 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.7% C 0.091 H 299.1°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#180132
RGBrgb(24, 1, 50)
HSLhsl(268, 96%, 10%)
HSVhsv(268, 98%, 20%)
CMYKcmyk(52%, 98%, 0%, 80.4%)
CIE-LABlab(4.03, 21.86, -26.22)
CIE-LCHlch(4.03, 34.14, 309.82°)
OKLaboklab(17.68% 0.0445 -0.0797)
OKLCHoklch(17.68% 0.091 299.1)
XYZxyz(0.9631, 0.4462, 3.0524)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180132 #1B3201
analogous
#010332 #180132 #300132
triadic
#180132 #321801 #013218
tetradic
#180132 #320103 #1B3201 #013230
square
#180132 #320103 #1B3201 #013230
split-complementary
#180132 #323001 #033201
monochromatic
#0E011E #0E011E #180132 #35026E #5203AA

Accessibility & contrast

On white

19.28
#180132 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#180132 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180132
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180132#FFFFFF#000000##FFFFFF
##1801321.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E33
Deuteranopia (green-blind)
#000E31
Tritanopia (blue-blind)
#110E19
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #180132;
/* rgb */ color: rgb(24, 1, 50);
/* oklch */ color: oklch(17.7% 0.091 299.1);
Tailwind
colors: {
  custom: {
    50: '#57466a',
    500: '#180132',
    950: '#000000',
  },
}
SCSS
$custom: #180132;
$custom-light: #57466a;
$custom-dark: #000000;
JSON
{
  "hex": "#180132",
  "rgb": {
    "r": 24,
    "g": 1,
    "b": 50
  },
  "hsl": {
    "h": 268.163,
    "s": 96.078,
    "l": 10
  },
  "oklch": {
    "l": 0.17684,
    "c": 0.09128,
    "h": 299.1
  },
  "luminance": 0.00446
}

Semantic roles & 50–950 ramp

primary
#180132
secondary
#4A7717
accent
#FF299A
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180132

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

Preview Lab → · Contrast checker → · Palette generator →

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