#25142D#25142D

#25142D is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.7% C 0.052 H 314.2°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#25142D
RGBrgb(37, 20, 45)
HSLhsl(281, 38%, 13%)
HSVhsv(281, 56%, 18%)
CMYKcmyk(17.8%, 55.6%, 0%, 82.4%)
CIE-LABlab(9.67, 14.42, -13.44)
CIE-LCHlch(9.67, 19.71, 317.02°)
OKLaboklab(22.72% 0.0362 -0.0373)
OKLCHoklch(22.72% 0.052 314.2)
XYZxyz(1.4867, 1.0831, 2.6129)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25142D #1C2D14
analogous
#18142D #25142D #2D1428
triadic
#25142D #2D2514 #142D25
tetradic
#25142D #2D1814 #1C2D14 #14282D
square
#25142D #2D1814 #1C2D14 #14282D
split-complementary
#25142D #282D14 #142D18
monochromatic
#110915 #110915 #25142D #482757 #6B3A82

Accessibility & contrast

On white

17.26
#25142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#25142D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25142D
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25142D#FFFFFF#000000##FFFFFF
##25142D1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2E
Deuteranopia (green-blind)
#141B2C
Tritanopia (blue-blind)
#24181E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25142d;
/* rgb */ color: rgb(37, 20, 45);
/* oklch */ color: oklch(22.7% 0.052 314.2);
Tailwind
colors: {
  custom: {
    50: '#605266',
    500: '#25142d',
    950: '#000000',
  },
}
SCSS
$custom: #25142d;
$custom-light: #605266;
$custom-dark: #000000;
JSON
{
  "hex": "#25142d",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 280.8,
    "s": 38.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22716,
    "c": 0.05198,
    "h": 314.2
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#25142D
secondary
#476439
accent
#CE597F
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050205
muted
#79787A

Preview Lab

Preview with #25142D

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

Preview Lab → · Contrast checker → · Palette generator →

#25142D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva