#25137F#25137F

#25137F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.165 H 277.9°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#25137F
RGBrgb(37, 19, 127)
HSLhsl(250, 74%, 29%)
HSVhsv(250, 85%, 50%)
CMYKcmyk(70.9%, 85%, 0%, 50.2%)
CIE-LABlab(17.42, 41.10, -56.60)
CIE-LCHlch(17.42, 69.95, 305.98°)
OKLaboklab(30.66% 0.0228 -0.1635)
OKLCHoklch(30.66% 0.165 277.9)
XYZxyz(4.8253, 2.3909, 20.2818)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25137F #6D7F13
analogous
#13377F #25137F #5B137F
triadic
#25137F #7F2513 #137F25
tetradic
#25137F #7F1337 #6D7F13 #137F5B
square
#25137F #7F1337 #6D7F13 #137F5B
split-complementary
#25137F #7F5B13 #377F13
monochromatic
#08041B #150B4A #25137F #351BB4 #4B2DE0

Accessibility & contrast

On white

14.21
#25137F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#25137F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25137F
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25137F#FFFFFF#000000##FFFFFF
##25137F1.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25137f;
/* rgb */ color: rgb(37, 19, 127);
/* oklch */ color: oklch(30.7% 0.165 277.9);
Tailwind
colors: {
  custom: {
    50: '#6f55a5',
    500: '#25137f',
    950: '#000000',
  },
}
SCSS
$custom: #25137f;
$custom-light: #6f55a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25137f",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 127
  },
  "hsl": {
    "h": 250,
    "s": 73.973,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3066,
    "c": 0.1651,
    "h": 277.9
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#25137F
secondary
#A0B439
accent
#F137D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25137F

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

Preview Lab → · Contrast checker → · Palette generator →

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