#25137E#25137E

#25137E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.164 H 278.1°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#25137E
RGBrgb(37, 19, 126)
HSLhsl(250, 74%, 28%)
HSVhsv(250, 85%, 49%)
CMYKcmyk(70.6%, 84.9%, 0%, 50.6%)
CIE-LABlab(17.30, 40.79, -56.17)
CIE-LCHlch(17.30, 69.41, 305.99°)
OKLaboklab(30.54% 0.0232 -0.1622)
OKLCHoklch(30.54% 0.164 278.1)
XYZxyz(4.7605, 2.3650, 19.9402)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25137E #6C7E13
analogous
#13377E #25137E #5A137E
triadic
#25137E #7E2513 #137E25
tetradic
#25137E #7E1337 #6C7E13 #137E5A
square
#25137E #7E1337 #6C7E13 #137E5A
split-complementary
#25137E #7E5A13 #377E13
monochromatic
#08041B #150B49 #25137E #351BB3 #4A2CDF

Accessibility & contrast

On white

14.26
#25137E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#25137E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25137E
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25137E#FFFFFF#000000##FFFFFF
##25137E1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F81
Deuteranopia (green-blind)
#00267C
Tritanopia (blue-blind)
#00354A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #25137e;
/* rgb */ color: rgb(37, 19, 126);
/* oklch */ color: oklch(30.5% 0.164 278.1);
Tailwind
colors: {
  custom: {
    50: '#6f55a5',
    500: '#25137e',
    950: '#000000',
  },
}
SCSS
$custom: #25137e;
$custom-light: #6f55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25137e",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 126
  },
  "hsl": {
    "h": 250.093,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.30541,
    "c": 0.16388,
    "h": 278.1
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#25137E
secondary
#9FB439
accent
#F037D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25137E

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

Preview Lab → · Contrast checker → · Palette generator →

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