#25137B#25137B

#25137B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.160 H 278.7°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#25137B
RGBrgb(37, 19, 123)
HSLhsl(250, 73%, 28%)
HSVhsv(250, 85%, 48%)
CMYKcmyk(69.9%, 84.6%, 0%, 51.8%)
CIE-LABlab(16.93, 39.85, -54.85)
CIE-LCHlch(16.93, 67.80, 306.00°)
OKLaboklab(30.19% 0.0241 -0.1584)
OKLCHoklch(30.19% 0.16 278.7)
XYZxyz(4.5698, 2.2887, 18.9360)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25137B #697B13
analogous
#13357B #25137B #59137B
triadic
#25137B #7B2513 #137B25
tetradic
#25137B #7B1335 #697B13 #137B59
square
#25137B #7B1335 #697B13 #137B59
split-complementary
#25137B #7B5913 #357B13
monochromatic
#08041B #150B46 #25137B #351BB0 #492ADE

Accessibility & contrast

On white

14.41
#25137B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#25137B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25137B
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25137B#FFFFFF#000000##FFFFFF
##25137B1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7E
Deuteranopia (green-blind)
#002679
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #25137b;
/* rgb */ color: rgb(37, 19, 123);
/* oklch */ color: oklch(30.2% 0.160 278.7);
Tailwind
colors: {
  custom: {
    50: '#6e55a2',
    500: '#25137b',
    950: '#000000',
  },
}
SCSS
$custom: #25137b;
$custom-light: #6e55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25137b",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 123
  },
  "hsl": {
    "h": 250.385,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30186,
    "c": 0.16025,
    "h": 278.7
  },
  "luminance": 0.02289
}

Semantic roles & 50–950 ramp

primary
#25137B
secondary
#9CB139
accent
#F038D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25137B

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

Preview Lab → · Contrast checker → · Palette generator →

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