#180225#180225

#180225 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.5% C 0.074 H 310.5°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#180225
RGBrgb(24, 2, 37)
HSLhsl(278, 90%, 8%)
HSVhsv(278, 95%, 15%)
CMYKcmyk(35.1%, 94.6%, 0%, 85.5%)
CIE-LABlab(3.35, 15.55, -17.42)
CIE-LCHlch(3.35, 23.35, 311.74°)
OKLaboklab(16.46% 0.0481 -0.0563)
OKLCHoklch(16.46% 0.074 310.5)
XYZxyz(0.7323, 0.3712, 1.7830)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#180225 #0F2502
analogous
#060225 #180225 #250220
triadic
#180225 #251802 #022518
tetradic
#180225 #250602 #0F2502 #022025
square
#180225 #250602 #0F2502 #022025
split-complementary
#180225 #202502 #022506
monochromatic
#13021D #13021D #180225 #3E055F #630899

Accessibility & contrast

On white

19.55
#180225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #180225
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##180225#FFFFFF#000000##FFFFFF
##1802251.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #180225;
/* rgb */ color: rgb(24, 2, 37);
/* oklch */ color: oklch(16.5% 0.074 310.5);
Tailwind
colors: {
  custom: {
    50: '#54475f',
    500: '#180225',
    950: '#000000',
  },
}
SCSS
$custom: #180225;
$custom-light: #54475f;
$custom-dark: #000000;
JSON
{
  "hex": "#180225",
  "rgb": {
    "r": 24,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 277.714,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16455,
    "c": 0.07403,
    "h": 310.5
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#180225
secondary
#376A18
accent
#FF2978
background
#F4F4F5
surface
#E8E6E9
border
#C4C2C5
text
#030004
muted
#787779

Preview Lab

Preview with #180225

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

Preview Lab → · Contrast checker → · Palette generator →

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