#180732#180732

#180732 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.080 H 296.1°. Best body text is #FFFFFF at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#180732
RGBrgb(24, 7, 50)
HSLhsl(264, 75%, 11%)
HSVhsv(264, 86%, 20%)
CMYKcmyk(52%, 86%, 0%, 80.4%)
CIE-LABlab(5.21, 19.17, -24.34)
CIE-LCHlch(5.21, 30.98, 308.23°)
OKLaboklab(18.86% 0.035 -0.0717)
OKLCHoklch(18.86% 0.08 296.1)
XYZxyz(1.0282, 0.5764, 3.0741)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180732 #213207
analogous
#070B32 #180732 #2D0732
triadic
#180732 #321807 #073218
tetradic
#180732 #32070B #213207 #07322D
square
#180732 #32070B #213207 #07322D
split-complementary
#180732 #322D07 #0B3207
monochromatic
#0D041B #0D041B #180732 #320F68 #4C169D

Accessibility & contrast

On white

18.83
#180732 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#180732 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180732
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180732#FFFFFF#000000##FFFFFF
##1807321.0018.831.1218.83
#FFFFFF18.831.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001233
Deuteranopia (green-blind)
#001131
Tritanopia (blue-blind)
#11121B
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180732;
/* rgb */ color: rgb(24, 7, 50);
/* oklch */ color: oklch(18.9% 0.080 296.1);
Tailwind
colors: {
  custom: {
    50: '#57496a',
    500: '#180732',
    950: '#000000',
  },
}
SCSS
$custom: #180732;
$custom-light: #57496a;
$custom-dark: #000000;
JSON
{
  "hex": "#180732",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 50
  },
  "hsl": {
    "h": 263.721,
    "s": 75.439,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18864,
    "c": 0.07976,
    "h": 296.1
  },
  "luminance": 0.00576
}

Semantic roles & 50–950 ramp

primary
#180732
secondary
#537223
accent
#F236A8
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180732

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

Preview Lab → · Contrast checker → · Palette generator →

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