#25102F#25102F

#25102F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.1% C 0.063 H 313.7°. Best body text is #FFFFFF at 17.59:1 contrast (WCAG AA passes).

Color values

HEX#25102F
RGBrgb(37, 16, 47)
HSLhsl(281, 49%, 12%)
HSVhsv(281, 66%, 18%)
CMYKcmyk(21.3%, 66%, 0%, 81.6%)
CIE-LABlab(8.73, 17.72, -16.38)
CIE-LCHlch(8.73, 24.13, 317.25°)
OKLaboklab(22.07% 0.0437 -0.0458)
OKLCHoklch(22.07% 0.063 313.7)
XYZxyz(1.4612, 0.9692, 2.7989)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25102F #1A2F10
analogous
#16102F #25102F #2F102A
triadic
#25102F #2F2510 #102F25
tetradic
#25102F #2F1610 #1A2F10 #102A2F
square
#25102F #2F1610 #1A2F10 #102A2F
split-complementary
#25102F #2A2F10 #102F16
monochromatic
#120817 #120817 #25102F #49205D #6D2F8A

Accessibility & contrast

On white

17.59
#25102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#25102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25102F
17.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25102F#FFFFFF#000000##FFFFFF
##25102F1.0017.591.1917.59
#FFFFFF17.591.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081830
Deuteranopia (green-blind)
#0F192E
Tritanopia (blue-blind)
#24151D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #25102f;
/* rgb */ color: rgb(37, 16, 47);
/* oklch */ color: oklch(22.1% 0.063 313.7);
Tailwind
colors: {
  custom: {
    50: '#604f67',
    500: '#25102f',
    950: '#000000',
  },
}
SCSS
$custom: #25102f;
$custom-light: #604f67;
$custom-dark: #000000;
JSON
{
  "hex": "#25102f",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 280.645,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22066,
    "c": 0.06329,
    "h": 313.7
  },
  "luminance": 0.00969
}

Semantic roles & 50–950 ramp

primary
#25102F
secondary
#446833
accent
#D94F7B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050206
muted
#79787A

Preview Lab

Preview with #25102F

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

Preview Lab → · Contrast checker → · Palette generator →

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