#25137C#25137C

#25137C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.161 H 278.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#25137C
RGBrgb(37, 19, 124)
HSLhsl(250, 73%, 28%)
HSVhsv(250, 85%, 49%)
CMYKcmyk(70.2%, 84.7%, 0%, 51.4%)
CIE-LABlab(17.06, 40.16, -55.29)
CIE-LCHlch(17.06, 68.34, 305.99°)
OKLaboklab(30.3% 0.0238 -0.1597)
OKLCHoklch(30.3% 0.161 278.5)
XYZxyz(4.6327, 2.3139, 19.2674)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25137C #6A7C13
analogous
#13357C #25137C #59137C
triadic
#25137C #7C2513 #137C25
tetradic
#25137C #7C1335 #6A7C13 #137C59
square
#25137C #7C1335 #6A7C13 #137C59
split-complementary
#25137C #7C5913 #357C13
monochromatic
#08041B #150B47 #25137C #351BB1 #4A2BDF

Accessibility & contrast

On white

14.36
#25137C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25137C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25137C#FFFFFF#000000##FFFFFF
##25137C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25137c;
/* rgb */ color: rgb(37, 19, 124);
/* oklch */ color: oklch(30.3% 0.161 278.5);
Tailwind
colors: {
  custom: {
    50: '#6e55a3',
    500: '#25137c',
    950: '#000000',
  },
}
SCSS
$custom: #25137c;
$custom-light: #6e55a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25137c",
  "rgb": {
    "r": 37,
    "g": 19,
    "b": 124
  },
  "hsl": {
    "h": 250.286,
    "s": 73.427,
    "l": 28.039
  },
  "oklch": {
    "l": 0.30304,
    "c": 0.16147,
    "h": 278.5
  },
  "luminance": 0.02314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25137C

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

Preview Lab → · Contrast checker → · Palette generator →

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