#25072D#25072D

#25072D is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.078 H 318.4°. Best body text is #FFFFFF at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#25072D
RGBrgb(37, 7, 45)
HSLhsl(287, 73%, 10%)
HSVhsv(287, 84%, 18%)
CMYKcmyk(17.8%, 84.4%, 0%, 82.4%)
CIE-LABlab(6.64, 22.38, -18.23)
CIE-LCHlch(6.64, 28.86, 320.84°)
OKLaboklab(20.44% 0.0581 -0.0515)
OKLCHoklch(20.44% 0.078 318.4)
XYZxyz(1.3125, 0.7348, 2.5548)
Luminance0.0073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25072D #0F2D07
analogous
#12072D #25072D #2D0722
triadic
#25072D #2D2507 #072D25
tetradic
#25072D #2D1207 #0F2D07 #07222D
square
#25072D #2D1207 #0F2D07 #07222D
split-complementary
#25072D #222D07 #072D12
monochromatic
#16041A #16041A #25072D #510F62 #7C1797

Accessibility & contrast

On white

18.31
#25072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#25072D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25072D
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25072D#FFFFFF#000000##FFFFFF
##25072D1.0018.311.1518.31
#FFFFFF18.311.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#09162C
Tritanopia (blue-blind)
#250E19
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #25072d;
/* rgb */ color: rgb(37, 7, 45);
/* oklch */ color: oklch(20.4% 0.078 318.4);
Tailwind
colors: {
  custom: {
    50: '#614966',
    500: '#25072d',
    950: '#000000',
  },
}
SCSS
$custom: #25072d;
$custom-light: #614966;
$custom-dark: #000000;
JSON
{
  "hex": "#25072d",
  "rgb": {
    "r": 37,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 287.368,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.20437,
    "c": 0.07766,
    "h": 318.4
  },
  "luminance": 0.00735
}

Semantic roles & 50–950 ramp

primary
#25072D
secondary
#336D23
accent
#F0385F
background
#F5F4F6
surface
#EAE7EB
border
#C6C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #25072D

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

Preview Lab → · Contrast checker → · Palette generator →

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