#25134A#25134A

#25134A is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.096 H 293.1°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#25134A
RGBrgb(37, 19, 74)
HSLhsl(260, 59%, 18%)
HSVhsv(260, 74%, 29%)
CMYKcmyk(50%, 74.3%, 0%, 71%)
CIE-LABlab(11.64, 24.02, -30.99)
CIE-LCHlch(11.64, 39.20, 307.78°)
OKLaboklab(24.88% 0.0379 -0.0887)
OKLCHoklch(24.88% 0.096 293.1)
XYZxyz(2.2315, 1.3534, 6.6209)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25134A #384A13
analogous
#131C4A #25134A #40134A
triadic
#25134A #4A2513 #134A25
tetradic
#25134A #4A131C #384A13 #134A40
square
#25134A #4A131C #384A13 #134A40
split-complementary
#25134A #4A4013 #1C4A13
monochromatic
#0C0618 #0D0619 #25134A #3D207B #562CAB

Accessibility & contrast

On white

16.53
#25134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#25134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25134A
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25134A#FFFFFF#000000##FFFFFF
##25134A1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25134a;
/* rgb */ color: rgb(37, 19, 74);
/* oklch */ color: oklch(24.9% 0.096 293.1);
Tailwind
colors: {
  custom: {
    50: '#64527d',
    500: '#25134a',
    950: '#000000',
  },
}
SCSS
$custom: #25134a;
$custom-light: #64527d;
$custom-dark: #000000;
JSON
{
  "hex": "#25134a",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 259.636,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24877,
    "c": 0.09639,
    "h": 293.1
  },
  "luminance": 0.01353
}

Semantic roles & 50–950 ramp

primary
#25134A
secondary
#6A8336
accent
#E245AF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25134A

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

Preview Lab → · Contrast checker → · Palette generator →

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