#25164F#25164F

#25164F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.9% C 0.099 H 289.8°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#25164F
RGBrgb(37, 22, 79)
HSLhsl(256, 56%, 20%)
HSVhsv(256, 72%, 31%)
CMYKcmyk(53.2%, 72.2%, 0%, 69%)
CIE-LABlab(12.81, 23.75, -32.54)
CIE-LCHlch(12.81, 40.28, 306.12°)
OKLaboklab(25.86% 0.0335 -0.0932)
OKLCHoklch(25.86% 0.099 289.8)
XYZxyz(2.4607, 1.5315, 7.5616)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25164F #404F16
analogous
#16244F #25164F #41164F
triadic
#25164F #4F2516 #164F25
tetradic
#25164F #4F1624 #404F16 #164F41
square
#25164F #4F1624 #404F16 #164F41
split-complementary
#25164F #4F4116 #244F16
monochromatic
#0B0718 #0F091F #25164F #3B237F #5231AF

Accessibility & contrast

On white

16.07
#25164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#25164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25164F
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25164F#FFFFFF#000000##FFFFFF
##25164F1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#172430
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #25164f;
/* rgb */ color: rgb(37, 22, 79);
/* oklch */ color: oklch(25.9% 0.099 289.8);
Tailwind
colors: {
  custom: {
    50: '#645481',
    500: '#25164f',
    950: '#000000',
  },
}
SCSS
$custom: #25164f;
$custom-light: #645481;
$custom-dark: #000000;
JSON
{
  "hex": "#25164f",
  "rgb": {
    "r": 37,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 255.789,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25858,
    "c": 0.09906,
    "h": 289.8
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

primary
#25164F
secondary
#72863A
accent
#E048B8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #25164F

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

Preview Lab → · Contrast checker → · Palette generator →

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