#25134D#25134D

#25134D is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.2% C 0.101 H 291.8°. Best body text is #FFFFFF at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#25134D
RGBrgb(37, 19, 77)
HSLhsl(259, 60%, 19%)
HSVhsv(259, 75%, 30%)
CMYKcmyk(51.9%, 75.3%, 0%, 69.8%)
CIE-LABlab(11.92, 24.99, -32.61)
CIE-LCHlch(11.92, 41.08, 307.47°)
OKLaboklab(25.16% 0.0373 -0.0934)
OKLCHoklch(25.16% 0.101 291.8)
XYZxyz(2.3350, 1.3948, 7.1659)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25134D #3B4D13
analogous
#131E4D #25134D #42134D
triadic
#25134D #4D2513 #134D25
tetradic
#25134D #4D131E #3B4D13 #134D42
square
#25134D #4D131E #3B4D13 #134D42
split-complementary
#25134D #4D4213 #1E4D13
monochromatic
#0C0619 #0D071C #25134D #3D1F7E #542BAF

Accessibility & contrast

On white

16.42
#25134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#25134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25134D
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25134D#FFFFFF#000000##FFFFFF
##25134D1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#001E4C
Tritanopia (blue-blind)
#19212E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #25134d;
/* rgb */ color: rgb(37, 19, 77);
/* oklch */ color: oklch(25.2% 0.101 291.8);
Tailwind
colors: {
  custom: {
    50: '#64527f',
    500: '#25134d',
    950: '#000000',
  },
}
SCSS
$custom: #25134d;
$custom-light: #64527f;
$custom-dark: #000000;
JSON
{
  "hex": "#25134d",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 258.621,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.25164,
    "c": 0.10059,
    "h": 291.8
  },
  "luminance": 0.01395
}

Semantic roles & 50–950 ramp

primary
#25134D
secondary
#6D8636
accent
#E444B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25134D

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

Preview Lab → · Contrast checker → · Palette generator →

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