#180123#180123

#180123 is a very dark, moderate purple. Relative luminance 0.003; OKLCH L 16.0% C 0.075 H 313.4°. Best body text is #FFFFFF at 19.67:1 contrast (WCAG AA passes).

Color values

HEX#180123
RGBrgb(24, 1, 35)
HSLhsl(281, 94%, 7%)
HSVhsv(281, 97%, 14%)
CMYKcmyk(31.4%, 97.1%, 0%, 86.3%)
CIE-LABlab(3.05, 15.17, -16.34)
CIE-LCHlch(3.05, 22.29, 312.88°)
OKLaboklab(16% 0.0513 -0.0543)
OKLCHoklch(16% 0.075 313.4)
XYZxyz(0.6909, 0.3373, 1.6185)
Luminance0.0034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180123 #0C2301
analogous
#070123 #180123 #23011D
triadic
#180123 #231801 #012318
tetradic
#180123 #230701 #0C2301 #011D23
square
#180123 #230701 #0C2301 #011D23
split-complementary
#180123 #1D2301 #012307
monochromatic
#14011E #14011E #180123 #41035F #6A049A

Accessibility & contrast

On white

19.67
#180123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180123
19.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180123#FFFFFF#000000##FFFFFF
##1801231.0019.671.0719.67
#FFFFFF19.671.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A24
Deuteranopia (green-blind)
#000C22
Tritanopia (blue-blind)
#170710
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #180123;
/* rgb */ color: rgb(24, 1, 35);
/* oklch */ color: oklch(16.0% 0.075 313.4);
Tailwind
colors: {
  custom: {
    50: '#54475e',
    500: '#180123',
    950: '#000000',
  },
}
SCSS
$custom: #180123;
$custom-light: #54475e;
$custom-dark: #000000;
JSON
{
  "hex": "#180123",
  "rgb": {
    "r": 24,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 280.588,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.15999,
    "c": 0.07476,
    "h": 313.4
  },
  "luminance": 0.00337
}

Semantic roles & 50–950 ramp

primary
#180123
secondary
#316A16
accent
#FF296E
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#030004
muted
#787779

Preview Lab

Preview with #180123

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

Preview Lab → · Contrast checker → · Palette generator →

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