#25112F#25112F

#25112F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.3% C 0.061 H 313.2°. Best body text is #FFFFFF at 17.50:1 contrast (WCAG AA passes).

Color values

HEX#25112F
RGBrgb(37, 17, 47)
HSLhsl(280, 47%, 13%)
HSVhsv(280, 64%, 18%)
CMYKcmyk(21.3%, 63.8%, 0%, 81.6%)
CIE-LABlab(8.99, 17.05, -15.98)
CIE-LCHlch(8.99, 23.37, 316.86°)
OKLaboklab(22.25% 0.042 -0.0446)
OKLCHoklch(22.25% 0.061 313.2)
XYZxyz(1.4764, 0.9995, 2.8039)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25112F #1B2F11
analogous
#16112F #25112F #2F112A
triadic
#25112F #2F2511 #112F25
tetradic
#25112F #2F1611 #1B2F11 #112A2F
square
#25112F #2F1611 #1B2F11 #112A2F
split-complementary
#25112F #2A2F11 #112F16
monochromatic
#120816 #120816 #25112F #48215C #6C3289

Accessibility & contrast

On white

17.50
#25112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25112F
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25112F#FFFFFF#000000##FFFFFF
##25112F1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1830
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#24161D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #25112f;
/* rgb */ color: rgb(37, 17, 47);
/* oklch */ color: oklch(22.3% 0.061 313.2);
Tailwind
colors: {
  custom: {
    50: '#605067',
    500: '#25112f',
    950: '#000000',
  },
}
SCSS
$custom: #25112f;
$custom-light: #605067;
$custom-dark: #000000;
JSON
{
  "hex": "#25112f",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 280,
    "s": 46.875,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22254,
    "c": 0.06125,
    "h": 313.2
  },
  "luminance": 0.00999
}

Semantic roles & 50–950 ramp

primary
#25112F
secondary
#456734
accent
#D7517E
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #25112F

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

Preview Lab → · Contrast checker → · Palette generator →

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