#25145A#25145A

#25145A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.117 H 286.6°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#25145A
RGBrgb(37, 20, 90)
HSLhsl(255, 64%, 22%)
HSVhsv(255, 78%, 35%)
CMYKcmyk(58.9%, 77.8%, 0%, 64.7%)
CIE-LABlab(13.42, 28.66, -39.01)
CIE-LCHlch(13.42, 48.41, 306.31°)
OKLaboklab(26.63% 0.0334 -0.1122)
OKLCHoklch(26.63% 0.117 286.6)
XYZxyz(2.8580, 1.6317, 9.8352)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25145A #495A14
analogous
#14265A #25145A #48145A
triadic
#25145A #5A2514 #145A25
tetradic
#25145A #5A1426 #495A14 #145A48
square
#25145A #5A1426 #495A14 #145A48
split-complementary
#25145A #5A4814 #265A14
monochromatic
#0A0619 #100928 #25145A #3A1F8C #4E2ABE

Accessibility & contrast

On white

15.83
#25145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#25145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25145A
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25145A#FFFFFF#000000##FFFFFF
##25145A1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245C
Deuteranopia (green-blind)
#002059
Tritanopia (blue-blind)
#0E2735
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #25145a;
/* rgb */ color: rgb(37, 20, 90);
/* oklch */ color: oklch(26.6% 0.117 286.6);
Tailwind
colors: {
  custom: {
    50: '#665389',
    500: '#25145a',
    950: '#000000',
  },
}
SCSS
$custom: #25145a;
$custom-light: #665389;
$custom-dark: #000000;
JSON
{
  "hex": "#25145a",
  "rgb": {
    "r": 37,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 254.571,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26627,
    "c": 0.11708,
    "h": 286.6
  },
  "luminance": 0.01632
}

Semantic roles & 50–950 ramp

primary
#25145A
secondary
#7C9238
accent
#E741BE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25145A

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

Preview Lab → · Contrast checker → · Palette generator →

#25145A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva