#25135A#25135A

#25135A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.118 H 286.9°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#25135A
RGBrgb(37, 19, 90)
HSLhsl(255, 65%, 21%)
HSVhsv(255, 79%, 35%)
CMYKcmyk(58.9%, 78.9%, 0%, 64.7%)
CIE-LABlab(13.21, 29.25, -39.35)
CIE-LCHlch(13.21, 49.03, 306.62°)
OKLaboklab(26.48% 0.0343 -0.1132)
OKLCHoklch(26.48% 0.118 286.9)
XYZxyz(2.8407, 1.5971, 9.8295)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25135A #485A13
analogous
#13255A #25135A #49135A
triadic
#25135A #5A2513 #135A25
tetradic
#25135A #5A1325 #485A13 #135A49
square
#25135A #5A1325 #485A13 #135A49
split-complementary
#25135A #5A4913 #255A13
monochromatic
#0A0519 #100827 #25135A #3A1E8D #4F28BF

Accessibility & contrast

On white

15.92
#25135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#25135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25135A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25135A#FFFFFF#000000##FFFFFF
##25135A1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25135a;
/* rgb */ color: rgb(37, 19, 90);
/* oklch */ color: oklch(26.5% 0.118 286.9);
Tailwind
colors: {
  custom: {
    50: '#675389',
    500: '#25135a',
    950: '#000000',
  },
}
SCSS
$custom: #25135a;
$custom-light: #675389;
$custom-dark: #000000;
JSON
{
  "hex": "#25135a",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 255.211,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26479,
    "c": 0.1183,
    "h": 286.9
  },
  "luminance": 0.01597
}

Semantic roles & 50–950 ramp

primary
#25135A
secondary
#7B9237
accent
#E840BD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25135A

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

Preview Lab → · Contrast checker → · Palette generator →

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