#25112E#25112E

#25112E is a very dark, muted purple. Relative luminance 0.010; OKLCH L 22.2% C 0.060 H 314.4°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#25112E
RGBrgb(37, 17, 46)
HSLhsl(281, 46%, 12%)
HSVhsv(281, 63%, 18%)
CMYKcmyk(19.6%, 63%, 0%, 82%)
CIE-LABlab(8.92, 16.78, -15.35)
CIE-LCHlch(8.92, 22.74, 317.55°)
OKLaboklab(22.18% 0.0418 -0.0428)
OKLCHoklch(22.18% 0.06 314.4)
XYZxyz(1.4565, 0.9915, 2.6989)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25112E #1A2E11
analogous
#16112E #25112E #2E1129
triadic
#25112E #2E2511 #112E25
tetradic
#25112E #2E1611 #1A2E11 #11292E
square
#25112E #2E1611 #1A2E11 #11292E
split-complementary
#25112E #292E11 #112E16
monochromatic
#120816 #120816 #25112E #49225B #6D3287

Accessibility & contrast

On white

17.53
#25112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#25112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25112E
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25112E#FFFFFF#000000##FFFFFF
##25112E1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A182F
Deuteranopia (green-blind)
#111A2D
Tritanopia (blue-blind)
#24161D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #25112e;
/* rgb */ color: rgb(37, 17, 46);
/* oklch */ color: oklch(22.2% 0.060 314.4);
Tailwind
colors: {
  custom: {
    50: '#604f67',
    500: '#25112e',
    950: '#000000',
  },
}
SCSS
$custom: #25112e;
$custom-light: #604f67;
$custom-dark: #000000;
JSON
{
  "hex": "#25112e",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 281.379,
    "s": 46.032,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22184,
    "c": 0.05984,
    "h": 314.4
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#25112E
secondary
#446634
accent
#D6527B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #25112E

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

Preview Lab → · Contrast checker → · Palette generator →

#25112E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva