#25152A#25152A

#25152A is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.7% C 0.045 H 317.9°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#25152A
RGBrgb(37, 21, 42)
HSLhsl(286, 33%, 12%)
HSVhsv(286, 50%, 16%)
CMYKcmyk(11.9%, 50%, 0%, 83.5%)
CIE-LABlab(9.77, 12.88, -11.05)
CIE-LCHlch(9.77, 16.97, 319.38°)
OKLaboklab(22.74% 0.0336 -0.0304)
OKLCHoklch(22.74% 0.045 317.9)
XYZxyz(1.4490, 1.0969, 2.3254)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25152A #1A2A15
analogous
#1B152A #25152A #2A1525
triadic
#25152A #2A2515 #152A25
tetradic
#25152A #2A1B15 #1A2A15 #15252A
square
#25152A #2A1B15 #1A2A15 #15252A
split-complementary
#25152A #252A15 #152A1B
monochromatic
#120A14 #120A14 #25152A #492953 #6D3E7C

Accessibility & contrast

On white

17.22
#25152A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25152A
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25152A#FFFFFF#000000##FFFFFF
##25152A1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121A2B
Deuteranopia (green-blind)
#161C29
Tritanopia (blue-blind)
#25181D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25152a;
/* rgb */ color: rgb(37, 21, 42);
/* oklch */ color: oklch(22.7% 0.045 317.9);
Tailwind
colors: {
  custom: {
    50: '#605263',
    500: '#25152a',
    950: '#000000',
  },
}
SCSS
$custom: #25152a;
$custom-light: #605263;
$custom-dark: #000000;
JSON
{
  "hex": "#25152a",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 42
  },
  "hsl": {
    "h": 285.714,
    "s": 33.333,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2274,
    "c": 0.04534,
    "h": 317.9
  },
  "luminance": 0.01097
}

Semantic roles & 50–950 ramp

primary
#25152A
secondary
#445F3B
accent
#C95E78
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#050205
muted
#797879

Preview Lab

Preview with #25152A

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

Preview Lab → · Contrast checker → · Palette generator →

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