#25164D#25164D

#25164D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.096 H 290.6°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#25164D
RGBrgb(37, 22, 77)
HSLhsl(256, 56%, 19%)
HSVhsv(256, 71%, 30%)
CMYKcmyk(51.9%, 71.4%, 0%, 69.8%)
CIE-LABlab(12.63, 23.07, -31.46)
CIE-LCHlch(12.63, 39.01, 306.26°)
OKLaboklab(25.67% 0.0338 -0.09)
OKLCHoklch(25.67% 0.096 290.6)
XYZxyz(2.3890, 1.5029, 7.1839)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25164D #3E4D16
analogous
#16224D #25164D #41164D
triadic
#25164D #4D2516 #164D25
tetradic
#25164D #4D1622 #3E4D16 #164D41
square
#25164D #4D1622 #3E4D16 #164D41
split-complementary
#25164D #4D4116 #224D16
monochromatic
#0B0718 #0E081D #25164D #3C247D #5331AC

Accessibility & contrast

On white

16.15
#25164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#25164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25164D
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25164D#FFFFFF#000000##FFFFFF
##25164D1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#00204C
Tritanopia (blue-blind)
#18232F
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #25164d;
/* rgb */ color: rgb(37, 22, 77);
/* oklch */ color: oklch(25.7% 0.096 290.6);
Tailwind
colors: {
  custom: {
    50: '#64547f',
    500: '#25164d',
    950: '#000000',
  },
}
SCSS
$custom: #25164d;
$custom-light: #64547f;
$custom-dark: #000000;
JSON
{
  "hex": "#25164d",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 256.364,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.2567,
    "c": 0.09617,
    "h": 290.6
  },
  "luminance": 0.01503
}

Semantic roles & 50–950 ramp

primary
#25164D
secondary
#70853A
accent
#DF49B6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25164D

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

Preview Lab → · Contrast checker → · Palette generator →

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