#25012C#25012C

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

Color values

HEX#25012C
RGBrgb(37, 1, 44)
HSLhsl(290, 96%, 9%)
HSVhsv(290, 98%, 17%)
CMYKcmyk(15.9%, 97.7%, 0%, 82.7%)
CIE-LABlab(5.39, 25.13, -19.45)
CIE-LCHlch(5.39, 31.78, 322.26°)
OKLaboklab(19.34% 0.0691 -0.0564)
OKLCHoklch(19.34% 0.089 320.8)
XYZxyz(1.2284, 0.5969, 2.4329)
Luminance0.0060 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25012C #082C01
analogous
#10012C #25012C #2C011E
triadic
#25012C #2C2501 #012C25
tetradic
#25012C #2C1001 #082C01 #011E2C
square
#25012C #2C1001 #082C01 #011E2C
split-complementary
#25012C #1E2C01 #012C10
monochromatic
#19011E #19011E #25012C #570268 #8A04A4

Accessibility & contrast

On white

18.76
#25012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25012C
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25012C#FFFFFF#000000##FFFFFF
##25012C1.0018.761.1218.76
#FFFFFF18.761.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F2D
Deuteranopia (green-blind)
#04132B
Tritanopia (blue-blind)
#250816
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #25012c;
/* rgb */ color: rgb(37, 1, 44);
/* oklch */ color: oklch(19.3% 0.089 320.8);
Tailwind
colors: {
  custom: {
    50: '#614665',
    500: '#25012c',
    950: '#000000',
  },
}
SCSS
$custom: #25012c;
$custom-light: #614665;
$custom-dark: #000000;
JSON
{
  "hex": "#25012c",
  "rgb": {
    "r": 37,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 290.233,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.19344,
    "c": 0.08915,
    "h": 320.8
  },
  "luminance": 0.00597
}

Semantic roles & 50–950 ramp

primary
#25012C
secondary
#267217
accent
#FF294C
background
#F5F4F6
surface
#EAE6EB
border
#C6C2C6
text
#050005
muted
#79777A

Preview Lab

Preview with #25012C

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

Preview Lab → · Contrast checker → · Palette generator →

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