#25144F#25144F

#25144F is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.102 H 290.6°. Best body text is #FFFFFF at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#25144F
RGBrgb(37, 20, 79)
HSLhsl(257, 60%, 19%)
HSVhsv(257, 75%, 31%)
CMYKcmyk(53.2%, 74.7%, 0%, 69%)
CIE-LABlab(12.34, 25.03, -33.30)
CIE-LCHlch(12.34, 41.66, 306.92°)
OKLaboklab(25.52% 0.0358 -0.0955)
OKLCHoklch(25.52% 0.102 290.6)
XYZxyz(2.4240, 1.4580, 7.5493)
Luminance0.0146 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25144F #3E4F14
analogous
#14214F #25144F #43144F
triadic
#25144F #4F2514 #144F25
tetradic
#25144F #4F1421 #3E4F14 #144F43
square
#25144F #4F1421 #3E4F14 #144F43
split-complementary
#25144F #4F4314 #214F14
monochromatic
#0B0618 #0E081E #25144F #3C2080 #532DB1

Accessibility & contrast

On white

16.26
#25144F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#25144F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25144F
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25144F#FFFFFF#000000##FFFFFF
##25144F1.0016.261.2916.26
#FFFFFF16.261.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#001F4E
Tritanopia (blue-blind)
#17232F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #25144f;
/* rgb */ color: rgb(37, 20, 79);
/* oklch */ color: oklch(25.5% 0.102 290.6);
Tailwind
colors: {
  custom: {
    50: '#645381',
    500: '#25144f',
    950: '#000000',
  },
}
SCSS
$custom: #25144f;
$custom-light: #645381;
$custom-dark: #000000;
JSON
{
  "hex": "#25144f",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 79
  },
  "hsl": {
    "h": 257.288,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.25521,
    "c": 0.10196,
    "h": 290.6
  },
  "luminance": 0.01458
}

Semantic roles & 50–950 ramp

primary
#25144F
secondary
#708738
accent
#E345B5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25144F

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

Preview Lab → · Contrast checker → · Palette generator →

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