#25144E#25144E

#25144E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.101 H 291.0°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#25144E
RGBrgb(37, 20, 78)
HSLhsl(258, 59%, 19%)
HSVhsv(258, 74%, 31%)
CMYKcmyk(52.6%, 74.4%, 0%, 69.4%)
CIE-LABlab(12.24, 24.70, -32.77)
CIE-LCHlch(12.24, 41.03, 307.00°)
OKLaboklab(25.42% 0.036 -0.0939)
OKLCHoklch(25.42% 0.101 291)
XYZxyz(2.3879, 1.4436, 7.3591)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25144E #3D4E14
analogous
#14204E #25144E #42144E
triadic
#25144E #4E2514 #144E25
tetradic
#25144E #4E1420 #3D4E14 #144E42
square
#25144E #4E1420 #3D4E14 #144E42
split-complementary
#25144E #4E4214 #204E14
monochromatic
#0C0618 #0E081D #25144E #3C207F #532DAF

Accessibility & contrast

On white

16.29
#25144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25144E
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25144E#FFFFFF#000000##FFFFFF
##25144E1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002150
Deuteranopia (green-blind)
#001F4D
Tritanopia (blue-blind)
#18222F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #25144e;
/* rgb */ color: rgb(37, 20, 78);
/* oklch */ color: oklch(25.4% 0.101 291.0);
Tailwind
colors: {
  custom: {
    50: '#645380',
    500: '#25144e',
    950: '#000000',
  },
}
SCSS
$custom: #25144e;
$custom-light: #645380;
$custom-dark: #000000;
JSON
{
  "hex": "#25144e",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 257.586,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25424,
    "c": 0.10056,
    "h": 291
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#25144E
secondary
#6F8638
accent
#E245B4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25144E

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

Preview Lab → · Contrast checker → · Palette generator →

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