#25136B#25136B

#25136B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.140 H 282.1°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#25136B
RGBrgb(37, 19, 107)
HSLhsl(252, 70%, 25%)
HSVhsv(252, 82%, 42%)
CMYKcmyk(65.4%, 82.2%, 0%, 58%)
CIE-LABlab(15.06, 34.78, -47.59)
CIE-LCHlch(15.06, 58.95, 306.16°)
OKLaboklab(28.34% 0.0293 -0.1373)
OKLCHoklch(28.34% 0.14 282.1)
XYZxyz(3.6488, 1.9203, 14.0854)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25136B #596B13
analogous
#132D6B #25136B #51136B
triadic
#25136B #6B2513 #136B25
tetradic
#25136B #6B132D #596B13 #136B51
square
#25136B #6B132D #596B13 #136B51
split-complementary
#25136B #6B5113 #2D6B13
monochromatic
#09051A #130A37 #25136B #371C9F #4925D3

Accessibility & contrast

On white

15.17
#25136B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25136B
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25136B#FFFFFF#000000##FFFFFF
##25136B1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296D
Deuteranopia (green-blind)
#002369
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25136b;
/* rgb */ color: rgb(37, 19, 107);
/* oklch */ color: oklch(28.3% 0.140 282.1);
Tailwind
colors: {
  custom: {
    50: '#6a5496',
    500: '#25136b',
    950: '#000000',
  },
}
SCSS
$custom: #25136b;
$custom-light: #6a5496;
$custom-dark: #000000;
JSON
{
  "hex": "#25136b",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 107
  },
  "hsl": {
    "h": 252.273,
    "s": 69.841,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28335,
    "c": 0.14039,
    "h": 282.1
  },
  "luminance": 0.01921
}

Semantic roles & 50–950 ramp

primary
#25136B
secondary
#8CA238
accent
#ED3BC8
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030D
muted
#7A787E

Preview Lab

Preview with #25136B

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

Preview Lab → · Contrast checker → · Palette generator →

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