#25001F#25001F

#25001F is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.1% C 0.080 H 335.5°. Best body text is #FFFFFF at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#25001F
RGBrgb(37, 0, 31)
HSLhsl(310, 100%, 7%)
HSVhsv(310, 100%, 15%)
CMYKcmyk(0%, 100%, 16.2%, 85.5%)
CIE-LABlab(4.45, 21.80, -10.90)
CIE-LCHlch(4.45, 24.38, 333.44°)
OKLaboklab(18.09% 0.0731 -0.0332)
OKLCHoklch(18.09% 0.08 335.5)
XYZxyz(1.0103, 0.4923, 1.3379)
Luminance0.0049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25001F #002506
analogous
#190025 #25001F #25000D
triadic
#25001F #1F2500 #001F25
tetradic
#25001F #251900 #002506 #000D25
square
#25001F #251900 #002506 #000D25
split-complementary
#25001F #0D2500 #002519
monochromatic
#1F001A #1F001A #25001F #620052 #9F0086

Accessibility & contrast

On white

19.12
#25001F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#25001F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25001F
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25001F#FFFFFF#000000##FFFFFF
##25001F1.0019.121.1019.12
#FFFFFF19.121.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B20
Deuteranopia (green-blind)
#0C121E
Tritanopia (blue-blind)
#28020E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #25001f;
/* rgb */ color: rgb(37, 0, 31);
/* oklch */ color: oklch(18.1% 0.080 335.5);
Tailwind
colors: {
  custom: {
    50: '#60465a',
    500: '#25001f',
    950: '#000000',
  },
}
SCSS
$custom: #25001f;
$custom-light: #60465a;
$custom-dark: #000000;
JSON
{
  "hex": "#25001f",
  "rgb": {
    "r": 37,
    "g": 0,
    "b": 31
  },
  "hsl": {
    "h": 309.73,
    "s": 100,
    "l": 7.255
  },
  "oklch": {
    "l": 0.18094,
    "c": 0.08026,
    "h": 335.5
  },
  "luminance": 0.00492
}

Semantic roles & 50–950 ramp

primary
#25001F
secondary
#136D22
accent
#FF4C29
background
#F5F3F5
surface
#EAE5E9
border
#C6C1C5
text
#050003
muted
#797678

Preview Lab

Preview with #25001F

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

Preview Lab → · Contrast checker → · Palette generator →

#25001F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva