#25154A#25154A

#25154A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.093 H 292.3°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#25154A
RGBrgb(37, 21, 74)
HSLhsl(258, 56%, 19%)
HSVhsv(258, 72%, 29%)
CMYKcmyk(50%, 71.6%, 0%, 71%)
CIE-LABlab(12.12, 22.73, -30.22)
CIE-LCHlch(12.12, 37.81, 306.95°)
OKLaboklab(25.22% 0.0354 -0.0864)
OKLCHoklch(25.22% 0.093 292.3)
XYZxyz(2.2668, 1.4240, 6.6327)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25154A #3A4A15
analogous
#151F4A #25154A #3F154A
triadic
#25154A #4A2515 #154A25
tetradic
#25154A #4A151F #3A4A15 #154A3F
square
#25154A #4A151F #3A4A15 #154A3F
split-complementary
#25154A #4A3F15 #1F4A15
monochromatic
#0C0718 #0D071A #25154A #3D237A #5530A9

Accessibility & contrast

On white

16.34
#25154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#25154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25154A
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25154A#FFFFFF#000000##FFFFFF
##25154A1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001F49
Tritanopia (blue-blind)
#1A222D
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #25154a;
/* rgb */ color: rgb(37, 21, 74);
/* oklch */ color: oklch(25.2% 0.093 292.3);
Tailwind
colors: {
  custom: {
    50: '#63537d',
    500: '#25154a',
    950: '#000000',
  },
}
SCSS
$custom: #25154a;
$custom-light: #63537d;
$custom-dark: #000000;
JSON
{
  "hex": "#25154a",
  "rgb": {
    "r": 37,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 258.113,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25218,
    "c": 0.09336,
    "h": 292.3
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#25154A
secondary
#6C8239
accent
#DF49B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25154A

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

Preview Lab → · Contrast checker → · Palette generator →

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