#180733#180733

#180733 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.0% C 0.081 H 295.4°. Best body text is #FFFFFF at 18.80:1 contrast (WCAG AA passes).

Color values

HEX#180733
RGBrgb(24, 7, 51)
HSLhsl(263, 76%, 11%)
HSVhsv(263, 86%, 20%)
CMYKcmyk(52.9%, 86.3%, 0%, 80%)
CIE-LABlab(5.29, 19.61, -24.95)
CIE-LCHlch(5.29, 31.73, 308.17°)
OKLaboklab(18.97% 0.0348 -0.0733)
OKLCHoklch(18.97% 0.081 295.4)
XYZxyz(1.0500, 0.5851, 3.1889)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180733 #223307
analogous
#070C33 #180733 #2E0733
triadic
#180733 #331807 #073318
tetradic
#180733 #33070C #223307 #07332E
square
#180733 #33070C #223307 #07332E
split-complementary
#180733 #332E07 #0C3307
monochromatic
#0D041B #0D041B #180733 #310E69 #4B169F

Accessibility & contrast

On white

18.80
#180733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180733
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180733#FFFFFF#000000##FFFFFF
##1807331.0018.801.1218.80
#FFFFFF18.801.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#10121C
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #180733;
/* rgb */ color: rgb(24, 7, 51);
/* oklch */ color: oklch(19.0% 0.081 295.4);
Tailwind
colors: {
  custom: {
    50: '#58496b',
    500: '#180733',
    950: '#000000',
  },
}
SCSS
$custom: #180733;
$custom-light: #58496b;
$custom-dark: #000000;
JSON
{
  "hex": "#180733",
  "rgb": {
    "r": 24,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 263.182,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.1897,
    "c": 0.08115,
    "h": 295.4
  },
  "luminance": 0.00585
}

Semantic roles & 50–950 ramp

primary
#180733
secondary
#547323
accent
#F235A9
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030106
muted
#78777A

Preview Lab

Preview with #180733

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

Preview Lab → · Contrast checker → · Palette generator →

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