#25134F#25134F

#25134F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.103 H 290.9°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#25134F
RGBrgb(37, 19, 79)
HSLhsl(258, 61%, 19%)
HSVhsv(258, 76%, 31%)
CMYKcmyk(53.2%, 75.9%, 0%, 69%)
CIE-LABlab(12.11, 25.65, -33.67)
CIE-LCHlch(12.11, 42.33, 307.30°)
OKLaboklab(25.36% 0.0369 -0.0965)
OKLCHoklch(25.36% 0.103 290.9)
XYZxyz(2.4067, 1.4235, 7.5436)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25134F #3D4F13
analogous
#131F4F #25134F #43134F
triadic
#25134F #4F2513 #134F25
tetradic
#25134F #4F131F #3D4F13 #134F43
square
#25134F #4F131F #3D4F13 #134F43
split-complementary
#25134F #4F4313 #1F4F13
monochromatic
#0C0619 #0E071E #25134F #3C1F80 #532BB2

Accessibility & contrast

On white

16.34
#25134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25134F
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25134F#FFFFFF#000000##FFFFFF
##25134F1.0016.341.2816.34
#FFFFFF16.341.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25134f;
/* rgb */ color: rgb(37, 19, 79);
/* oklch */ color: oklch(25.4% 0.103 290.9);
Tailwind
colors: {
  custom: {
    50: '#645281',
    500: '#25134f',
    950: '#000000',
  },
}
SCSS
$custom: #25134f;
$custom-light: #645281;
$custom-dark: #000000;
JSON
{
  "hex": "#25134f",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 258,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25359,
    "c": 0.10336,
    "h": 290.9
  },
  "luminance": 0.01424
}

Semantic roles & 50–950 ramp

primary
#25134F
secondary
#6F8836
accent
#E443B4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25134F

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

Preview Lab → · Contrast checker → · Palette generator →

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