#180125#180125

#180125 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.2% C 0.077 H 311.1°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#180125
RGBrgb(24, 1, 37)
HSLhsl(278, 95%, 7%)
HSVhsv(278, 97%, 15%)
CMYKcmyk(35.1%, 97.3%, 0%, 85.5%)
CIE-LABlab(3.16, 15.94, -17.72)
CIE-LCHlch(3.16, 23.84, 311.97°)
OKLaboklab(16.21% 0.0506 -0.0579)
OKLCHoklch(16.21% 0.077 311.1)
XYZxyz(0.7214, 0.3495, 1.7794)
Luminance0.0035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180125 #0E2501
analogous
#060125 #180125 #250120
triadic
#180125 #251801 #012518
tetradic
#180125 #250601 #0E2501 #012025
square
#180125 #250601 #0E2501 #012025
split-complementary
#180125 #202501 #012506
monochromatic
#13011E #13011E #180125 #3F0361 #65049C

Accessibility & contrast

On white

19.63
#180125 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180125
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180125#FFFFFF#000000##FFFFFF
##1801251.0019.631.0719.63
#FFFFFF19.631.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A26
Deuteranopia (green-blind)
#000C24
Tritanopia (blue-blind)
#160812
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #180125;
/* rgb */ color: rgb(24, 1, 37);
/* oklch */ color: oklch(16.2% 0.077 311.1);
Tailwind
colors: {
  custom: {
    50: '#54475f',
    500: '#180125',
    950: '#000000',
  },
}
SCSS
$custom: #180125;
$custom-light: #54475f;
$custom-dark: #000000;
JSON
{
  "hex": "#180125",
  "rgb": {
    "r": 24,
    "g": 1,
    "b": 37
  },
  "hsl": {
    "h": 278.333,
    "s": 94.737,
    "l": 7.451
  },
  "oklch": {
    "l": 0.16207,
    "c": 0.07692,
    "h": 311.1
  },
  "luminance": 0.00349
}

Semantic roles & 50–950 ramp

primary
#180125
secondary
#356C16
accent
#FF2976
background
#F4F3F5
surface
#E8E5E9
border
#C4C1C5
text
#030004
muted
#787779

Preview Lab

Preview with #180125

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

Preview Lab → · Contrast checker → · Palette generator →

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