#25136A#25136A

#25136A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.139 H 282.3°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#25136A
RGBrgb(37, 19, 106)
HSLhsl(252, 70%, 25%)
HSVhsv(252, 82%, 42%)
CMYKcmyk(65.1%, 82.1%, 0%, 58.4%)
CIE-LABlab(14.95, 34.46, -47.12)
CIE-LCHlch(14.95, 58.38, 306.17°)
OKLaboklab(28.22% 0.0296 -0.1359)
OKLCHoklch(28.22% 0.139 282.3)
XYZxyz(3.5965, 1.8994, 13.8100)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25136A #586A13
analogous
#132D6A #25136A #51136A
triadic
#25136A #6A2513 #136A25
tetradic
#25136A #6A132D #586A13 #136A51
square
#25136A #6A132D #586A13 #136A51
split-complementary
#25136A #6A5113 #2D6A13
monochromatic
#09051A #130A36 #25136A #371C9E #4926D2

Accessibility & contrast

On white

15.22
#25136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#25136A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25136A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25136A#FFFFFF#000000##FFFFFF
##25136A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286C
Deuteranopia (green-blind)
#002268
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25136a;
/* rgb */ color: rgb(37, 19, 106);
/* oklch */ color: oklch(28.2% 0.139 282.3);
Tailwind
colors: {
  custom: {
    50: '#6a5496',
    500: '#25136a',
    950: '#000000',
  },
}
SCSS
$custom: #25136a;
$custom-light: #6a5496;
$custom-dark: #000000;
JSON
{
  "hex": "#25136a",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 252.414,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28222,
    "c": 0.13911,
    "h": 282.3
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#25136A
secondary
#8BA138
accent
#EC3BC8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #25136A

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

Preview Lab → · Contrast checker → · Palette generator →

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