#180423#180423

#180423 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.7% C 0.066 H 311.6°. Best body text is #FFFFFF at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#180423
RGBrgb(24, 4, 35)
HSLhsl(279, 79%, 8%)
HSVhsv(279, 89%, 14%)
CMYKcmyk(31.4%, 88.6%, 0%, 86.3%)
CIE-LABlab(3.63, 13.97, -15.43)
CIE-LCHlch(3.63, 20.81, 312.15°)
OKLaboklab(16.74% 0.0439 -0.0494)
OKLCHoklch(16.74% 0.066 311.6)
XYZxyz(0.7234, 0.4024, 1.6293)
Luminance0.0040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180423 #0F2304
analogous
#090423 #180423 #23041E
triadic
#180423 #231804 #042318
tetradic
#180423 #230904 #0F2304 #041E23
square
#180423 #230904 #0F2304 #041E23
split-complementary
#180423 #1E2304 #042309
monochromatic
#13031B #13031B #180423 #3E0A5A #631191

Accessibility & contrast

On white

19.44
#180423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.08
#180423 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180423
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180423#FFFFFF#000000##FFFFFF
##1804231.0019.441.0819.44
#FFFFFF19.441.0021.001.00
#0000001.0821.001.0021.00
##FFFFFF19.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C24
Deuteranopia (green-blind)
#020D22
Tritanopia (blue-blind)
#170A12
Achromatopsia (no color)
#0D0D0D

Design tokens & code

CSS
--color: #180423;
/* rgb */ color: rgb(24, 4, 35);
/* oklch */ color: oklch(16.7% 0.066 311.6);
Tailwind
colors: {
  custom: {
    50: '#54485e',
    500: '#180423',
    950: '#000000',
  },
}
SCSS
$custom: #180423;
$custom-light: #54485e;
$custom-dark: #000000;
JSON
{
  "hex": "#180423",
  "rgb": {
    "r": 24,
    "g": 4,
    "b": 35
  },
  "hsl": {
    "h": 278.71,
    "s": 79.487,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16739,
    "c": 0.06609,
    "h": 311.6
  },
  "luminance": 0.00402
}

Semantic roles & 50–950 ramp

primary
#180423
secondary
#37661D
accent
#F63277
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #180423

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

Preview Lab → · Contrast checker → · Palette generator →

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