#180729#180729

#180729 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.067 H 303.4°. Best body text is #FFFFFF at 19.07:1 contrast (WCAG AA passes).

Color values

HEX#180729
RGBrgb(24, 7, 41)
HSLhsl(270, 71%, 9%)
HSVhsv(270, 83%, 16%)
CMYKcmyk(41.5%, 82.9%, 0%, 83.9%)
CIE-LABlab(4.57, 15.22, -18.59)
CIE-LCHlch(4.57, 24.03, 309.31°)
OKLaboklab(17.96% 0.0369 -0.056)
OKLCHoklch(17.96% 0.067 303.4)
XYZxyz(0.8528, 0.5062, 2.1502)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180729 #182907
analogous
#070729 #180729 #290729
triadic
#180729 #291807 #072918
tetradic
#180729 #290707 #182907 #072929
square
#180729 #290707 #182907 #072929
split-complementary
#180729 #292907 #072907
monochromatic
#0F041A #0F041A #180729 #37105D #551992

Accessibility & contrast

On white

19.07
#180729 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#180729 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180729
19.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180729#FFFFFF#000000##FFFFFF
##1807291.0019.071.1019.07
#FFFFFF19.071.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2A
Deuteranopia (green-blind)
#001028
Tritanopia (blue-blind)
#150E16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #180729;
/* rgb */ color: rgb(24, 7, 41);
/* oklch */ color: oklch(18.0% 0.067 303.4);
Tailwind
colors: {
  custom: {
    50: '#554963',
    500: '#180729',
    950: '#000000',
  },
}
SCSS
$custom: #180729;
$custom-light: #554963;
$custom-dark: #000000;
JSON
{
  "hex": "#180729",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 41
  },
  "hsl": {
    "h": 270,
    "s": 70.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.17961,
    "c": 0.06711,
    "h": 303.4
  },
  "luminance": 0.00506
}

Semantic roles & 50–950 ramp

primary
#180729
secondary
#466923
accent
#EE3A94
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #180729

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

Preview Lab → · Contrast checker → · Palette generator →

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