#25022F#25022F

#25022F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.090 H 317.6°. Best body text is #FFFFFF at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#25022F
RGBrgb(37, 2, 47)
HSLhsl(287, 92%, 10%)
HSVhsv(287, 96%, 18%)
CMYKcmyk(21.3%, 95.7%, 0%, 81.6%)
CIE-LABlab(5.80, 25.54, -21.05)
CIE-LCHlch(5.80, 33.10, 320.50°)
OKLaboklab(19.79% 0.0664 -0.0605)
OKLCHoklch(19.79% 0.09 317.6)
XYZxyz(1.2977, 0.6420, 2.7443)
Luminance0.0064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25022F #0C2F02
analogous
#0F022F #25022F #2F0223
triadic
#25022F #2F2502 #022F25
tetradic
#25022F #2F0F02 #0C2F02 #02232F
square
#25022F #2F0F02 #0C2F02 #02232F
split-complementary
#25022F #232F02 #022F0F
monochromatic
#17011D #17011D #25022F #53046A #8107A4

Accessibility & contrast

On white

18.61
#25022F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25022F
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25022F#FFFFFF#000000##FFFFFF
##25022F1.0018.611.1318.61
#FFFFFF18.611.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#03142E
Tritanopia (blue-blind)
#250B18
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #25022f;
/* rgb */ color: rgb(37, 2, 47);
/* oklch */ color: oklch(19.8% 0.090 317.6);
Tailwind
colors: {
  custom: {
    50: '#614768',
    500: '#25022f',
    950: '#000000',
  },
}
SCSS
$custom: #25022f;
$custom-light: #614768;
$custom-dark: #000000;
JSON
{
  "hex": "#25022f",
  "rgb": {
    "r": 37,
    "g": 2,
    "b": 47
  },
  "hsl": {
    "h": 286.667,
    "s": 91.837,
    "l": 9.608
  },
  "oklch": {
    "l": 0.19789,
    "c": 0.08986,
    "h": 317.6
  },
  "luminance": 0.00642
}

Semantic roles & 50–950 ramp

primary
#25022F
secondary
#2D7419
accent
#FF2958
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #25022F

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

Preview Lab → · Contrast checker → · Palette generator →

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