#180737#180737

#180737 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.4% C 0.087 H 292.8°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#180737
RGBrgb(24, 7, 55)
HSLhsl(261, 77%, 12%)
HSVhsv(261, 87%, 22%)
CMYKcmyk(56.4%, 87.3%, 0%, 78.4%)
CIE-LABlab(5.62, 21.34, -27.35)
CIE-LCHlch(5.62, 34.70, 307.96°)
OKLaboklab(19.41% 0.0335 -0.0799)
OKLCHoklch(19.41% 0.087 292.8)
XYZxyz(1.1421, 0.6219, 3.6736)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180737 #263707
analogous
#070E37 #180737 #300737
triadic
#180737 #371807 #073718
tetradic
#180737 #37070E #263707 #073730
square
#180737 #37070E #263707 #073730
split-complementary
#180737 #373007 #0E3707
monochromatic
#0C031B #0C031B #180737 #300E6D #4715A4

Accessibility & contrast

On white

18.68
#180737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180737
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180737#FFFFFF#000000##FFFFFF
##1807371.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180737;
/* rgb */ color: rgb(24, 7, 55);
/* oklch */ color: oklch(19.4% 0.087 292.8);
Tailwind
colors: {
  custom: {
    50: '#59496e',
    500: '#180737',
    950: '#000000',
  },
}
SCSS
$custom: #180737;
$custom-light: #59496e;
$custom-dark: #000000;
JSON
{
  "hex": "#180737",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 261.25,
    "s": 77.419,
    "l": 12.157
  },
  "oklch": {
    "l": 0.19405,
    "c": 0.08665,
    "h": 292.8
  },
  "luminance": 0.00622
}

Semantic roles & 50–950 ramp

primary
#180737
secondary
#597723
accent
#F434B0
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040107
muted
#79777A

Preview Lab

Preview with #180737

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

Preview Lab → · Contrast checker → · Palette generator →

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