#180637#180637

#180637 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.2% C 0.088 H 293.2°. Best body text is #FFFFFF at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#180637
RGBrgb(24, 6, 55)
HSLhsl(262, 80%, 12%)
HSVhsv(262, 89%, 22%)
CMYKcmyk(56.4%, 89.1%, 0%, 78.4%)
CIE-LABlab(5.42, 21.82, -27.67)
CIE-LCHlch(5.42, 35.24, 308.26°)
OKLaboklab(19.23% 0.0348 -0.0811)
OKLCHoklch(19.23% 0.088 293.2)
XYZxyz(1.1312, 0.6002, 3.6699)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180637 #253706
analogous
#060D37 #180637 #310637
triadic
#180637 #371806 #063718
tetradic
#180637 #37060D #253706 #063731
square
#180637 #37060D #253706 #063731
split-complementary
#180637 #373106 #0D3706
monochromatic
#0C031C #0C031C #180637 #300C6E #4812A5

Accessibility & contrast

On white

18.75
#180637 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180637
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180637#FFFFFF#000000##FFFFFF
##1806371.0018.751.1218.75
#FFFFFF18.751.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180637;
/* rgb */ color: rgb(24, 6, 55);
/* oklch */ color: oklch(19.2% 0.088 293.2);
Tailwind
colors: {
  custom: {
    50: '#59486e',
    500: '#180637',
    950: '#000000',
  },
}
SCSS
$custom: #180637;
$custom-light: #59486e;
$custom-dark: #000000;
JSON
{
  "hex": "#180637",
  "rgb": {
    "r": 24,
    "g": 6,
    "b": 55
  },
  "hsl": {
    "h": 262.041,
    "s": 80.328,
    "l": 11.961
  },
  "oklch": {
    "l": 0.19229,
    "c": 0.08825,
    "h": 293.2
  },
  "luminance": 0.006
}

Semantic roles & 50–950 ramp

primary
#180637
secondary
#587721
accent
#F731AE
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #180637

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

Preview Lab → · Contrast checker → · Palette generator →

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