#25152D#25152D

#25152D is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.9% C 0.050 H 313.7°. Best body text is #FFFFFF at 17.16:1 contrast (WCAG AA passes).

Color values

HEX#25152D
RGBrgb(37, 21, 45)
HSLhsl(280, 36%, 13%)
HSVhsv(280, 53%, 18%)
CMYKcmyk(17.8%, 53.3%, 0%, 82.4%)
CIE-LABlab(9.95, 13.71, -13.00)
CIE-LCHlch(9.95, 18.89, 316.53°)
OKLaboklab(22.93% 0.0344 -0.036)
OKLCHoklch(22.93% 0.05 313.7)
XYZxyz(1.5047, 1.1191, 2.6189)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25152D #1D2D15
analogous
#19152D #25152D #2D1529
triadic
#25152D #2D2515 #152D25
tetradic
#25152D #2D1915 #1D2D15 #15292D
square
#25152D #2D1915 #1D2D15 #15292D
split-complementary
#25152D #292D15 #152D19
monochromatic
#110A15 #110A15 #25152D #472857 #6A3C80

Accessibility & contrast

On white

17.16
#25152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25152D
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25152D#FFFFFF#000000##FFFFFF
##25152D1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2E
Deuteranopia (green-blind)
#151C2C
Tritanopia (blue-blind)
#24181E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25152d;
/* rgb */ color: rgb(37, 21, 45);
/* oklch */ color: oklch(22.9% 0.050 313.7);
Tailwind
colors: {
  custom: {
    50: '#605266',
    500: '#25152d',
    950: '#000000',
  },
}
SCSS
$custom: #25152d;
$custom-light: #605266;
$custom-dark: #000000;
JSON
{
  "hex": "#25152d",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 280,
    "s": 36.364,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22927,
    "c": 0.04977,
    "h": 313.7
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#25152D
secondary
#48633B
accent
#CC5B81
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050205
muted
#79787A

Preview Lab

Preview with #25152D

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

Preview Lab → · Contrast checker → · Palette generator →

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