#25012F#25012F

#25012F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.6% C 0.092 H 317.9°. Best body text is #FFFFFF at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#25012F
RGBrgb(37, 1, 47)
HSLhsl(287, 96%, 9%)
HSVhsv(287, 98%, 18%)
CMYKcmyk(21.3%, 97.9%, 0%, 81.6%)
CIE-LABlab(5.60, 26.05, -21.37)
CIE-LCHlch(5.60, 33.69, 320.64°)
OKLaboklab(19.62% 0.0683 -0.0617)
OKLCHoklch(19.62% 0.092 317.9)
XYZxyz(1.2868, 0.6203, 2.7407)
Luminance0.0062 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25012F #0B2F01
analogous
#0E012F #25012F #2F0122
triadic
#25012F #2F2501 #012F25
tetradic
#25012F #2F0E01 #0B2F01 #01222F
square
#25012F #2F0E01 #0B2F01 #01222F
split-complementary
#25012F #222F01 #012F0E
monochromatic
#18011E #18011E #25012F #54026B #8304A7

Accessibility & contrast

On white

18.68
#25012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25012F
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25012F#FFFFFF#000000##FFFFFF
##25012F1.0018.681.1218.68
#FFFFFF18.681.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001030
Deuteranopia (green-blind)
#02132E
Tritanopia (blue-blind)
#250A18
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #25012f;
/* rgb */ color: rgb(37, 1, 47);
/* oklch */ color: oklch(19.6% 0.092 317.9);
Tailwind
colors: {
  custom: {
    50: '#624668',
    500: '#25012f',
    950: '#000000',
  },
}
SCSS
$custom: #25012f;
$custom-light: #624668;
$custom-dark: #000000;
JSON
{
  "hex": "#25012f",
  "rgb": {
    "r": 37,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 286.957,
    "s": 95.833,
    "l": 9.412
  },
  "oklch": {
    "l": 0.19618,
    "c": 0.09201,
    "h": 317.9
  },
  "luminance": 0.0062
}

Semantic roles & 50–950 ramp

primary
#25012F
secondary
#2B7517
accent
#FF2957
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #25012F

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

Preview Lab → · Contrast checker → · Palette generator →

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