#180124#180124

#180124 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.1% C 0.076 H 312.2°. Best body text is #FFFFFF at 19.65:1 contrast (WCAG AA passes).

Color values

HEX#180124
RGBrgb(24, 1, 36)
HSLhsl(279, 95%, 7%)
HSVhsv(279, 97%, 14%)
CMYKcmyk(33.3%, 97.2%, 0%, 85.9%)
CIE-LABlab(3.10, 15.55, -17.03)
CIE-LCHlch(3.10, 23.06, 312.39°)
OKLaboklab(16.1% 0.051 -0.0561)
OKLCHoklch(16.1% 0.076 312.2)
XYZxyz(0.7059, 0.3433, 1.6978)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180124 #0D2401
analogous
#070124 #180124 #24011F
triadic
#180124 #241801 #012418
tetradic
#180124 #240701 #0D2401 #011F24
square
#180124 #240701 #0D2401 #011F24
split-complementary
#180124 #1F2401 #012407
monochromatic
#14011E #14011E #180124 #400360 #67049B

Accessibility & contrast

On white

19.65
#180124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#180124 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #180124
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180124#FFFFFF#000000##FFFFFF
##1801241.0019.651.0719.65
#FFFFFF19.651.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A25
Deuteranopia (green-blind)
#000C23
Tritanopia (blue-blind)
#160711
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #180124;
/* rgb */ color: rgb(24, 1, 36);
/* oklch */ color: oklch(16.1% 0.076 312.2);
Tailwind
colors: {
  custom: {
    50: '#54475e',
    500: '#180124',
    950: '#000000',
  },
}
SCSS
$custom: #180124;
$custom-light: #54475e;
$custom-dark: #000000;
JSON
{
  "hex": "#180124",
  "rgb": {
    "r": 24,
    "g": 1,
    "b": 36
  },
  "hsl": {
    "h": 279.429,
    "s": 94.595,
    "l": 7.255
  },
  "oklch": {
    "l": 0.16102,
    "c": 0.07583,
    "h": 312.2
  },
  "luminance": 0.00343
}

Semantic roles & 50–950 ramp

primary
#180124
secondary
#336B16
accent
#FF2972
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#030004
muted
#787779

Preview Lab

Preview with #180124

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

Preview Lab → · Contrast checker → · Palette generator →

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