#180730#180730

#180730 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.7% C 0.077 H 297.5°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#180730
RGBrgb(24, 7, 48)
HSLhsl(265, 75%, 11%)
HSVhsv(265, 85%, 19%)
CMYKcmyk(50%, 85.4%, 0%, 81.2%)
CIE-LABlab(5.05, 18.30, -23.10)
CIE-LCHlch(5.05, 29.47, 308.39°)
OKLaboklab(18.66% 0.0356 -0.0683)
OKLCHoklch(18.66% 0.077 297.5)
XYZxyz(0.9860, 0.5595, 2.8518)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180730 #1F3007
analogous
#070A30 #180730 #2C0730
triadic
#180730 #301807 #073018
tetradic
#180730 #30070A #1F3007 #07302C
square
#180730 #30070A #1F3007 #07302C
split-complementary
#180730 #302C07 #0A3007
monochromatic
#0D041B #0D041B #180730 #330F65 #4D179B

Accessibility & contrast

On white

18.88
#180730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#180730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180730
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180730#FFFFFF#000000##FFFFFF
##1807301.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001131
Deuteranopia (green-blind)
#00102F
Tritanopia (blue-blind)
#12111A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #180730;
/* rgb */ color: rgb(24, 7, 48);
/* oklch */ color: oklch(18.7% 0.077 297.5);
Tailwind
colors: {
  custom: {
    50: '#574968',
    500: '#180730',
    950: '#000000',
  },
}
SCSS
$custom: #180730;
$custom-light: #574968;
$custom-dark: #000000;
JSON
{
  "hex": "#180730",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 264.878,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18655,
    "c": 0.07698,
    "h": 297.5
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#180730
secondary
#507023
accent
#F137A4
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180730

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

Preview Lab → · Contrast checker → · Palette generator →

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