#25152C#25152C

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

Color values

HEX#25152C
RGBrgb(37, 21, 44)
HSLhsl(282, 35%, 13%)
HSVhsv(282, 52%, 17%)
CMYKcmyk(15.9%, 52.3%, 0%, 82.7%)
CIE-LABlab(9.89, 13.43, -12.35)
CIE-LCHlch(9.89, 18.25, 317.40°)
OKLaboklab(22.86% 0.0341 -0.0341)
OKLCHoklch(22.86% 0.048 315)
XYZxyz(1.4857, 1.1115, 2.5187)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25152C #1C2C15
analogous
#19152C #25152C #2C1527
triadic
#25152C #2C2515 #152C25
tetradic
#25152C #2C1915 #1C2C15 #15272C
square
#25152C #2C1915 #1C2C15 #15272C
split-complementary
#25152C #272C15 #152C19
monochromatic
#110A15 #110A15 #25152C #482955 #6B3D7F

Accessibility & contrast

On white

17.18
#25152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25152C
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25152C#FFFFFF#000000##FFFFFF
##25152C1.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2D
Deuteranopia (green-blind)
#151C2B
Tritanopia (blue-blind)
#25181E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25152c;
/* rgb */ color: rgb(37, 21, 44);
/* oklch */ color: oklch(22.9% 0.048 315.0);
Tailwind
colors: {
  custom: {
    50: '#605265',
    500: '#25152c',
    950: '#000000',
  },
}
SCSS
$custom: #25152c;
$custom-light: #605265;
$custom-dark: #000000;
JSON
{
  "hex": "#25152c",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 281.739,
    "s": 35.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22863,
    "c": 0.04829,
    "h": 315
  },
  "luminance": 0.01111
}

Semantic roles & 50–950 ramp

primary
#25152C
secondary
#47623B
accent
#CB5C7E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050205
muted
#79787A

Preview Lab

Preview with #25152C

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

Preview Lab → · Contrast checker → · Palette generator →

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