#180122#180122

#180122 is a very dark, moderate purple. Relative luminance 0.003; OKLCH L 15.9% C 0.074 H 314.5°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#180122
RGBrgb(24, 1, 34)
HSLhsl(282, 94%, 7%)
HSVhsv(282, 97%, 13%)
CMYKcmyk(29.4%, 97.1%, 0%, 86.7%)
CIE-LABlab(2.99, 14.80, -15.63)
CIE-LCHlch(2.99, 21.53, 313.42°)
OKLaboklab(15.9% 0.0517 -0.0525)
OKLCHoklch(15.9% 0.074 314.5)
XYZxyz(0.6762, 0.3314, 1.5414)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180122 #0B2201
analogous
#080122 #180122 #22011C
triadic
#180122 #221801 #012218
tetradic
#180122 #220801 #0B2201 #011C22
square
#180122 #220801 #0B2201 #011C22
split-complementary
#180122 #1C2201 #012208
monochromatic
#15011E #15011E #180122 #42035D #6C0499

Accessibility & contrast

On white

19.70
#180122 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180122
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180122#FFFFFF#000000##FFFFFF
##1801221.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000923
Deuteranopia (green-blind)
#000C21
Tritanopia (blue-blind)
#170610
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #180122;
/* rgb */ color: rgb(24, 1, 34);
/* oklch */ color: oklch(15.9% 0.074 314.5);
Tailwind
colors: {
  custom: {
    50: '#54475d',
    500: '#180122',
    950: '#000000',
  },
}
SCSS
$custom: #180122;
$custom-light: #54475d;
$custom-dark: #000000;
JSON
{
  "hex": "#180122",
  "rgb": {
    "r": 24,
    "g": 1,
    "b": 34
  },
  "hsl": {
    "h": 281.818,
    "s": 94.286,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15897,
    "c": 0.07368,
    "h": 314.5
  },
  "luminance": 0.00331
}

Semantic roles & 50–950 ramp

primary
#180122
secondary
#2F6916
accent
#FF296A
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#030004
muted
#787779

Preview Lab

Preview with #180122

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

Preview Lab → · Contrast checker → · Palette generator →

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