#25164A#25164A

#25164A is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.4% C 0.092 H 291.8°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#25164A
RGBrgb(37, 22, 74)
HSLhsl(257, 54%, 19%)
HSVhsv(257, 70%, 29%)
CMYKcmyk(50%, 70.3%, 0%, 71%)
CIE-LABlab(12.36, 22.07, -29.82)
CIE-LCHlch(12.36, 37.10, 306.51°)
OKLaboklab(25.4% 0.0341 -0.0852)
OKLCHoklch(25.4% 0.092 291.8)
XYZxyz(2.2855, 1.4615, 6.6389)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25164A #3B4A16
analogous
#16214A #25164A #3F164A
triadic
#25164A #4A2516 #164A25
tetradic
#25164A #4A1621 #3B4A16 #164A3F
square
#25164A #4A1621 #3B4A16 #164A3F
split-complementary
#25164A #4A3F16 #214A16
monochromatic
#0C0718 #0D081B #25164A #3D2479 #5432A8

Accessibility & contrast

On white

16.25
#25164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#25164A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25164A
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25164A#FFFFFF#000000##FFFFFF
##25164A1.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25164a;
/* rgb */ color: rgb(37, 22, 74);
/* oklch */ color: oklch(25.4% 0.092 291.8);
Tailwind
colors: {
  custom: {
    50: '#63547d',
    500: '#25164a',
    950: '#000000',
  },
}
SCSS
$custom: #25164a;
$custom-light: #63547d;
$custom-dark: #000000;
JSON
{
  "hex": "#25164a",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 257.308,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25395,
    "c": 0.0918,
    "h": 291.8
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#25164A
secondary
#6D823A
accent
#DE4AB3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#050209
muted
#7A787B

Preview Lab

Preview with #25164A

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

Preview Lab → · Contrast checker → · Palette generator →

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