#25137D#25137D

#25137D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.163 H 278.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#25137D
RGBrgb(37, 19, 125)
HSLhsl(250, 74%, 28%)
HSVhsv(250, 85%, 49%)
CMYKcmyk(70.4%, 84.8%, 0%, 51%)
CIE-LABlab(17.18, 40.48, -55.73)
CIE-LCHlch(17.18, 68.88, 305.99°)
OKLaboklab(30.42% 0.0235 -0.161)
OKLCHoklch(30.42% 0.163 278.3)
XYZxyz(4.6963, 2.3393, 19.6021)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25137D #6B7D13
analogous
#13367D #25137D #5A137D
triadic
#25137D #7D2513 #137D25
tetradic
#25137D #7D1336 #6B7D13 #137D5A
square
#25137D #7D1336 #6B7D13 #137D5A
split-complementary
#25137D #7D5A13 #367D13
monochromatic
#08041B #150B48 #25137D #351BB2 #4A2CDF

Accessibility & contrast

On white

14.31
#25137D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25137D
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25137D#FFFFFF#000000##FFFFFF
##25137D1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E80
Deuteranopia (green-blind)
#00267B
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #25137d;
/* rgb */ color: rgb(37, 19, 125);
/* oklch */ color: oklch(30.4% 0.163 278.3);
Tailwind
colors: {
  custom: {
    50: '#6e55a4',
    500: '#25137d',
    950: '#000000',
  },
}
SCSS
$custom: #25137d;
$custom-light: #6e55a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25137d",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 125
  },
  "hsl": {
    "h": 250.189,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.30422,
    "c": 0.16267,
    "h": 278.3
  },
  "luminance": 0.0234
}

Semantic roles & 50–950 ramp

primary
#25137D
secondary
#9EB339
accent
#F038D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25137D

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

Preview Lab → · Contrast checker → · Palette generator →

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