#25136E#25136E

#25136E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.144 H 281.3°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#25136E
RGBrgb(37, 19, 110)
HSLhsl(252, 71%, 25%)
HSVhsv(252, 83%, 43%)
CMYKcmyk(66.4%, 82.7%, 0%, 56.9%)
CIE-LABlab(15.41, 35.74, -48.99)
CIE-LCHlch(15.41, 60.64, 306.11°)
OKLaboklab(28.68% 0.0284 -0.1413)
OKLCHoklch(28.68% 0.144 281.3)
XYZxyz(3.8094, 1.9846, 14.9311)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25136E #5C6E13
analogous
#132E6E #25136E #52136E
triadic
#25136E #6E2513 #136E25
tetradic
#25136E #6E132E #5C6E13 #136E52
square
#25136E #6E132E #5C6E13 #136E52
split-complementary
#25136E #6E5213 #2E6E13
monochromatic
#09051A #130A3A #25136E #371CA2 #4825D6

Accessibility & contrast

On white

15.03
#25136E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#25136E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25136E
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25136E#FFFFFF#000000##FFFFFF
##25136E1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A71
Deuteranopia (green-blind)
#00236C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #25136e;
/* rgb */ color: rgb(37, 19, 110);
/* oklch */ color: oklch(28.7% 0.144 281.3);
Tailwind
colors: {
  custom: {
    50: '#6b5499',
    500: '#25136e',
    950: '#000000',
  },
}
SCSS
$custom: #25136e;
$custom-light: #6b5499;
$custom-dark: #000000;
JSON
{
  "hex": "#25136e",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 110
  },
  "hsl": {
    "h": 251.868,
    "s": 70.543,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28676,
    "c": 0.14417,
    "h": 281.3
  },
  "luminance": 0.01985
}

Semantic roles & 50–950 ramp

primary
#25136E
secondary
#8FA538
accent
#ED3ACA
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25136E

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

Preview Lab → · Contrast checker → · Palette generator →

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