#25012E#25012E

#25012E is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.5% C 0.091 H 318.8°. Best body text is #FFFFFF at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#25012E
RGBrgb(37, 1, 46)
HSLhsl(288, 96%, 9%)
HSVhsv(288, 98%, 18%)
CMYKcmyk(19.6%, 97.8%, 0%, 82%)
CIE-LABlab(5.53, 25.75, -20.73)
CIE-LCHlch(5.53, 33.06, 321.16°)
OKLaboklab(19.53% 0.0686 -0.0599)
OKLCHoklch(19.53% 0.091 318.8)
XYZxyz(1.2669, 0.6123, 2.6357)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25012E #0A2E01
analogous
#0F012E #25012E #2E0121
triadic
#25012E #2E2501 #012E25
tetradic
#25012E #2E0F01 #0A2E01 #01212E
square
#25012E #2E0F01 #0A2E01 #01212E
split-complementary
#25012E #212E01 #012E0F
monochromatic
#18011E #18011E #25012E #55026A #8504A6

Accessibility & contrast

On white

18.71
#25012E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#25012E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25012E
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25012E#FFFFFF#000000##FFFFFF
##25012E1.0018.711.1218.71
#FFFFFF18.711.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102F
Deuteranopia (green-blind)
#03132D
Tritanopia (blue-blind)
#250917
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #25012e;
/* rgb */ color: rgb(37, 1, 46);
/* oklch */ color: oklch(19.5% 0.091 318.8);
Tailwind
colors: {
  custom: {
    50: '#614667',
    500: '#25012e',
    950: '#000000',
  },
}
SCSS
$custom: #25012e;
$custom-light: #614667;
$custom-dark: #000000;
JSON
{
  "hex": "#25012e",
  "rgb": {
    "r": 37,
    "g": 1,
    "b": 46
  },
  "hsl": {
    "h": 288,
    "s": 95.745,
    "l": 9.216
  },
  "oklch": {
    "l": 0.19526,
    "c": 0.09105,
    "h": 318.8
  },
  "luminance": 0.00612
}

Semantic roles & 50–950 ramp

primary
#25012E
secondary
#297417
accent
#FF2954
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #25012E

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

Preview Lab → · Contrast checker → · Palette generator →

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