#25012B#25012B

#25012B is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.3% C 0.088 H 321.8°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#25012B
RGBrgb(37, 1, 43)
HSLhsl(291, 95%, 9%)
HSVhsv(291, 98%, 17%)
CMYKcmyk(14%, 97.7%, 0%, 83.1%)
CIE-LABlab(5.32, 24.82, -18.80)
CIE-LCHlch(5.32, 31.14, 322.86°)
OKLaboklab(19.26% 0.0693 -0.0546)
OKLCHoklch(19.26% 0.088 321.8)
XYZxyz(1.2098, 0.5895, 2.3351)
Luminance0.0059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25012B #072B01
analogous
#10012B #25012B #2B011C
triadic
#25012B #2B2501 #012B25
tetradic
#25012B #2B1001 #072B01 #011C2B
square
#25012B #2B1001 #072B01 #011C2B
split-complementary
#25012B #1C2B01 #012B10
monochromatic
#1A011E #1A011E #25012B #580267 #8C04A3

Accessibility & contrast

On white

18.79
#25012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25012B
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25012B#FFFFFF#000000##FFFFFF
##25012B1.0018.791.1218.79
#FFFFFF18.791.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2C
Deuteranopia (green-blind)
#05132A
Tritanopia (blue-blind)
#250815
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #25012b;
/* rgb */ color: rgb(37, 1, 43);
/* oklch */ color: oklch(19.3% 0.088 321.8);
Tailwind
colors: {
  custom: {
    50: '#614664',
    500: '#25012b',
    950: '#000000',
  },
}
SCSS
$custom: #25012b;
$custom-light: #614664;
$custom-dark: #000000;
JSON
{
  "hex": "#25012b",
  "rgb": {
    "r": 37,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 291.429,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.19255,
    "c": 0.08822,
    "h": 321.8
  },
  "luminance": 0.00589
}

Semantic roles & 50–950 ramp

primary
#25012B
secondary
#237117
accent
#FF2947
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #25012B

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

Preview Lab → · Contrast checker → · Palette generator →

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