#180736#180736

#180736 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.085 H 293.4°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#180736
RGBrgb(24, 7, 54)
HSLhsl(262, 77%, 12%)
HSVhsv(262, 87%, 21%)
CMYKcmyk(55.6%, 87%, 0%, 78.8%)
CIE-LABlab(5.53, 20.91, -26.76)
CIE-LCHlch(5.53, 33.96, 308.00°)
OKLaboklab(19.3% 0.0339 -0.0783)
OKLCHoklch(19.3% 0.085 293.4)
XYZxyz(1.1183, 0.6125, 3.5486)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180736 #253607
analogous
#070E36 #180736 #300736
triadic
#180736 #361807 #073618
tetradic
#180736 #36070E #253607 #073630
square
#180736 #36070E #253607 #073630
split-complementary
#180736 #363007 #0E3607
monochromatic
#0C041B #0C041B #180736 #300E6C #4815A2

Accessibility & contrast

On white

18.71
#180736 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180736
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180736#FFFFFF#000000##FFFFFF
##1807361.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001337
Deuteranopia (green-blind)
#001135
Tritanopia (blue-blind)
#0F131E
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180736;
/* rgb */ color: rgb(24, 7, 54);
/* oklch */ color: oklch(19.3% 0.085 293.4);
Tailwind
colors: {
  custom: {
    50: '#58496d',
    500: '#180736',
    950: '#000000',
  },
}
SCSS
$custom: #180736;
$custom-light: #58496d;
$custom-dark: #000000;
JSON
{
  "hex": "#180736",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 54
  },
  "hsl": {
    "h": 261.702,
    "s": 77.049,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19295,
    "c": 0.08528,
    "h": 293.4
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#180736
secondary
#587623
accent
#F434AE
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#040107
muted
#79777A

Preview Lab

Preview with #180736

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

Preview Lab → · Contrast checker → · Palette generator →

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