#25136D#25136D

#25136D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.143 H 281.6°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#25136D
RGBrgb(37, 19, 109)
HSLhsl(252, 70%, 25%)
HSVhsv(252, 83%, 43%)
CMYKcmyk(66.1%, 82.6%, 0%, 57.3%)
CIE-LABlab(15.29, 35.42, -48.52)
CIE-LCHlch(15.29, 60.08, 306.13°)
OKLaboklab(28.56% 0.0287 -0.14)
OKLCHoklch(28.56% 0.143 281.6)
XYZxyz(3.7553, 1.9629, 14.6460)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25136D #5B6D13
analogous
#132E6D #25136D #52136D
triadic
#25136D #6D2513 #136D25
tetradic
#25136D #6D132E #5B6D13 #136D52
square
#25136D #6D132E #5B6D13 #136D52
split-complementary
#25136D #6D5213 #2E6D13
monochromatic
#09051A #130A39 #25136D #371CA1 #4825D5

Accessibility & contrast

On white

15.08
#25136D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#25136D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25136D
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25136D#FFFFFF#000000##FFFFFF
##25136D1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002970
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25136d;
/* rgb */ color: rgb(37, 19, 109);
/* oklch */ color: oklch(28.6% 0.143 281.6);
Tailwind
colors: {
  custom: {
    50: '#6b5498',
    500: '#25136d',
    950: '#000000',
  },
}
SCSS
$custom: #25136d;
$custom-light: #6b5498;
$custom-dark: #000000;
JSON
{
  "hex": "#25136d",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 109
  },
  "hsl": {
    "h": 252,
    "s": 70.313,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28562,
    "c": 0.14291,
    "h": 281.6
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#25136D
secondary
#8EA438
accent
#ED3BC9
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #25136D

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

Preview Lab → · Contrast checker → · Palette generator →

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