#25124A#25124A

#25124A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.098 H 293.5°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#25124A
RGBrgb(37, 18, 74)
HSLhsl(260, 61%, 18%)
HSVhsv(260, 76%, 29%)
CMYKcmyk(50%, 75.7%, 0%, 71%)
CIE-LABlab(11.42, 24.64, -31.36)
CIE-LCHlch(11.42, 39.88, 308.16°)
OKLaboklab(24.71% 0.039 -0.0897)
OKLCHoklch(24.71% 0.098 293.5)
XYZxyz(2.2149, 1.3203, 6.6154)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25124A #374A12
analogous
#121B4A #25124A #41124A
triadic
#25124A #4A2512 #124A25
tetradic
#25124A #4A121B #374A12 #124A41
square
#25124A #4A121B #374A12 #124A41
split-complementary
#25124A #4A4112 #1B4A12
monochromatic
#0C0619 #0C0619 #25124A #3E1E7B #562AAC

Accessibility & contrast

On white

16.61
#25124A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#25124A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25124A
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25124A#FFFFFF#000000##FFFFFF
##25124A1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#1A202C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #25124a;
/* rgb */ color: rgb(37, 18, 74);
/* oklch */ color: oklch(24.7% 0.098 293.5);
Tailwind
colors: {
  custom: {
    50: '#64517d',
    500: '#25124a',
    950: '#000000',
  },
}
SCSS
$custom: #25124a;
$custom-light: #64517d;
$custom-dark: #000000;
JSON
{
  "hex": "#25124a",
  "rgb": {
    "r": 37,
    "g": 18,
    "b": 74
  },
  "hsl": {
    "h": 260.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24714,
    "c": 0.09785,
    "h": 293.5
  },
  "luminance": 0.0132
}

Semantic roles & 50–950 ramp

primary
#25124A
secondary
#688335
accent
#E444AE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25124A

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

Preview Lab → · Contrast checker → · Palette generator →

#25124A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva