#25022E#25022E

#25022E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.7% C 0.089 H 318.6°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).

Color values

HEX#25022E
RGBrgb(37, 2, 46)
HSLhsl(288, 92%, 9%)
HSVhsv(288, 96%, 18%)
CMYKcmyk(19.6%, 95.7%, 0%, 82%)
CIE-LABlab(5.73, 25.23, -20.42)
CIE-LCHlch(5.73, 32.46, 321.02°)
OKLaboklab(19.7% 0.0667 -0.0588)
OKLCHoklch(19.7% 0.089 318.6)
XYZxyz(1.2777, 0.6341, 2.6393)
Luminance0.0063 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25022E #0B2E02
analogous
#0F022E #25022E #2E0221
triadic
#25022E #2E2502 #022E25
tetradic
#25022E #2E0F02 #0B2E02 #02212E
square
#25022E #2E0F02 #0B2E02 #02212E
split-complementary
#25022E #212E02 #022E0F
monochromatic
#18011D #18011D #25022E #540569 #8307A3

Accessibility & contrast

On white

18.64
#25022E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#25022E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25022E
18.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25022E#FFFFFF#000000##FFFFFF
##25022E1.0018.641.1318.64
#FFFFFF18.641.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#04142D
Tritanopia (blue-blind)
#250A17
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #25022e;
/* rgb */ color: rgb(37, 2, 46);
/* oklch */ color: oklch(19.7% 0.089 318.6);
Tailwind
colors: {
  custom: {
    50: '#614767',
    500: '#25022e',
    950: '#000000',
  },
}
SCSS
$custom: #25022e;
$custom-light: #614767;
$custom-dark: #000000;
JSON
{
  "hex": "#25022e",
  "rgb": {
    "r": 37,
    "g": 2,
    "b": 46
  },
  "hsl": {
    "h": 287.727,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19699,
    "c": 0.08888,
    "h": 318.6
  },
  "luminance": 0.00634
}

Semantic roles & 50–950 ramp

primary
#25022E
secondary
#2B7319
accent
#FF2955
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #25022E

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

Preview Lab → · Contrast checker → · Palette generator →

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