#25152B#25152B

#25152B is a very dark, muted purple. Relative luminance 0.011; OKLCH L 22.8% C 0.047 H 316.4°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#25152B
RGBrgb(37, 21, 43)
HSLhsl(284, 34%, 13%)
HSVhsv(284, 51%, 17%)
CMYKcmyk(14%, 51.2%, 0%, 83.1%)
CIE-LABlab(9.83, 13.16, -11.70)
CIE-LCHlch(9.83, 17.61, 318.34°)
OKLaboklab(22.8% 0.0339 -0.0323)
OKLCHoklch(22.8% 0.047 316.4)
XYZxyz(1.4671, 1.1041, 2.4209)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25152B #1B2B15
analogous
#1A152B #25152B #2B1526
triadic
#25152B #2B2515 #152B25
tetradic
#25152B #2B1A15 #1B2B15 #15262B
square
#25152B #2B1A15 #1B2B15 #15262B
split-complementary
#25152B #262B15 #152B1A
monochromatic
#120A15 #120A15 #25152B #482954 #6C3D7D

Accessibility & contrast

On white

17.20
#25152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25152B
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25152B#FFFFFF#000000##FFFFFF
##25152B1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2C
Deuteranopia (green-blind)
#151C2A
Tritanopia (blue-blind)
#25181D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25152b;
/* rgb */ color: rgb(37, 21, 43);
/* oklch */ color: oklch(22.8% 0.047 316.4);
Tailwind
colors: {
  custom: {
    50: '#605264',
    500: '#25152b',
    950: '#000000',
  },
}
SCSS
$custom: #25152b;
$custom-light: #605264;
$custom-dark: #000000;
JSON
{
  "hex": "#25152b",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 283.636,
    "s": 34.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22801,
    "c": 0.04681,
    "h": 316.4
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#25152B
secondary
#45613B
accent
#CA5D7B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050205
muted
#79787A

Preview Lab

Preview with #25152B

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

Preview Lab → · Contrast checker → · Palette generator →

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