#240225#240225

#240225 is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 18.7% C 0.080 H 327.0°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#240225
RGBrgb(36, 2, 37)
HSLhsl(298, 90%, 8%)
HSVhsv(298, 95%, 15%)
CMYKcmyk(2.7%, 94.6%, 0%, 85.5%)
CIE-LABlab(4.99, 22.06, -14.76)
CIE-LCHlch(4.99, 26.54, 326.21°)
OKLaboklab(18.74% 0.0668 -0.0434)
OKLCHoklch(18.74% 0.08 327)
XYZxyz(1.0832, 0.5521, 1.7994)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#240225 #032502
analogous
#130225 #240225 #250214
triadic
#240225 #252402 #022524
tetradic
#240225 #251302 #032502 #021425
square
#240225 #251302 #032502 #021425
split-complementary
#240225 #142502 #022513
monochromatic
#1C021D #1C021D #240225 #5C055F #950899

Accessibility & contrast

On white

18.91
#240225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#240225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #240225
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##240225#FFFFFF#000000##FFFFFF
##2402251.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E26
Deuteranopia (green-blind)
#091224
Tritanopia (blue-blind)
#250612
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #240225;
/* rgb */ color: rgb(36, 2, 37);
/* oklch */ color: oklch(18.7% 0.080 327.0);
Tailwind
colors: {
  custom: {
    50: '#60475f',
    500: '#240225',
    950: '#000000',
  },
}
SCSS
$custom: #240225;
$custom-light: #60475f;
$custom-dark: #000000;
JSON
{
  "hex": "#240225",
  "rgb": {
    "r": 36,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 298.286,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.18738,
    "c": 0.07962,
    "h": 327
  },
  "luminance": 0.00552
}

Semantic roles & 50–950 ramp

primary
#240225
secondary
#1B6A18
accent
#FF292F
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#050004
muted
#797779

Preview Lab

Preview with #240225

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

Preview Lab → · Contrast checker → · Palette generator →

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