#180532#180532

#180532 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.083 H 297.1°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#180532
RGBrgb(24, 5, 50)
HSLhsl(265, 82%, 11%)
HSVhsv(265, 90%, 20%)
CMYKcmyk(52%, 90%, 0%, 80.4%)
CIE-LABlab(4.81, 20.08, -24.96)
CIE-LCHlch(4.81, 32.04, 308.81°)
OKLaboklab(18.49% 0.038 -0.0742)
OKLCHoklch(18.49% 0.083 297.1)
XYZxyz(1.0065, 0.5330, 3.0668)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180532 #1F3205
analogous
#050932 #180532 #2E0532
triadic
#180532 #321805 #053218
tetradic
#180532 #320509 #1F3205 #05322E
square
#180532 #320509 #1F3205 #05322E
split-complementary
#180532 #322E05 #093205
monochromatic
#0D031C #0D031C #180532 #330B6A #4D10A1

Accessibility & contrast

On white

18.98
#180532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180532 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180532
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180532#FFFFFF#000000##FFFFFF
##1805321.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001133
Deuteranopia (green-blind)
#001031
Tritanopia (blue-blind)
#11111B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180532;
/* rgb */ color: rgb(24, 5, 50);
/* oklch */ color: oklch(18.5% 0.083 297.1);
Tailwind
colors: {
  custom: {
    50: '#57486a',
    500: '#180532',
    950: '#000000',
  },
}
SCSS
$custom: #180532;
$custom-light: #57486a;
$custom-dark: #000000;
JSON
{
  "hex": "#180532",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 50
  },
  "hsl": {
    "h": 265.333,
    "s": 81.818,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18488,
    "c": 0.08336,
    "h": 297.1
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#180532
secondary
#50731F
accent
#F830A4
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #180532

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

Preview Lab → · Contrast checker → · Palette generator →

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