#180537#180537

#180537 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.090 H 293.7°. Best body text is #FFFFFF at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#180537
RGBrgb(24, 5, 55)
HSLhsl(263, 83%, 12%)
HSVhsv(263, 91%, 22%)
CMYKcmyk(56.4%, 90.9%, 0%, 78.4%)
CIE-LABlab(5.23, 22.30, -27.99)
CIE-LCHlch(5.23, 35.79, 308.55°)
OKLaboklab(19.05% 0.0361 -0.0823)
OKLCHoklch(19.05% 0.09 293.7)
XYZxyz(1.1204, 0.5785, 3.6663)
Luminance0.0058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180537 #243705
analogous
#050B37 #180537 #310537
triadic
#180537 #371805 #053718
tetradic
#180537 #37050B #243705 #053731
square
#180537 #37050B #243705 #053731
split-complementary
#180537 #373105 #0B3705
monochromatic
#0C031C #0C031C #180537 #300A6F #490FA7

Accessibility & contrast

On white

18.82
#180537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180537
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180537#FFFFFF#000000##FFFFFF
##1805371.0018.821.1218.82
#FFFFFF18.821.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001238
Deuteranopia (green-blind)
#001036
Tritanopia (blue-blind)
#0E131E
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180537;
/* rgb */ color: rgb(24, 5, 55);
/* oklch */ color: oklch(19.1% 0.090 293.7);
Tailwind
colors: {
  custom: {
    50: '#59486e',
    500: '#180537',
    950: '#000000',
  },
}
SCSS
$custom: #180537;
$custom-light: #59486e;
$custom-dark: #000000;
JSON
{
  "hex": "#180537",
  "rgb": {
    "r": 24,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 262.8,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.1905,
    "c": 0.08989,
    "h": 293.7
  },
  "luminance": 0.00579
}

Semantic roles & 50–950 ramp

primary
#180537
secondary
#577820
accent
#FA2EAC
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #180537

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

Preview Lab → · Contrast checker → · Palette generator →

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