#180739#180739

#180739 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.6% C 0.089 H 291.6°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#180739
RGBrgb(24, 7, 57)
HSLhsl(260, 78%, 13%)
HSVhsv(260, 88%, 22%)
CMYKcmyk(57.9%, 87.7%, 0%, 77.6%)
CIE-LABlab(5.79, 22.19, -28.53)
CIE-LCHlch(5.79, 36.14, 307.88°)
OKLaboklab(19.63% 0.0329 -0.0831)
OKLCHoklch(19.63% 0.089 291.6)
XYZxyz(1.1910, 0.6415, 3.9312)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180739 #283907
analogous
#070F39 #180739 #310739
triadic
#180739 #391807 #073918
tetradic
#180739 #39070F #283907 #073931
square
#180739 #39070F #283907 #073931
split-complementary
#180739 #393107 #0F3907
monochromatic
#0B031B #0B031B #180739 #2F0E70 #4614A6

Accessibility & contrast

On white

18.61
#180739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#180739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180739
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180739#FFFFFF#000000##FFFFFF
##1807391.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143A
Deuteranopia (green-blind)
#001238
Tritanopia (blue-blind)
#0D151F
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #180739;
/* rgb */ color: rgb(24, 7, 57);
/* oklch */ color: oklch(19.6% 0.089 291.6);
Tailwind
colors: {
  custom: {
    50: '#594970',
    500: '#180739',
    950: '#000000',
  },
}
SCSS
$custom: #180739;
$custom-light: #594970;
$custom-dark: #000000;
JSON
{
  "hex": "#180739",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 260.4,
    "s": 78.125,
    "l": 12.549
  },
  "oklch": {
    "l": 0.19628,
    "c": 0.08938,
    "h": 291.6
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#180739
secondary
#5C7923
accent
#F533B3
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#040107
muted
#79777A

Preview Lab

Preview with #180739

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

Preview Lab → · Contrast checker → · Palette generator →

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