#25107A#25107A

#25107A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.161 H 279.2°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#25107A
RGBrgb(37, 16, 122)
HSLhsl(252, 77%, 27%)
HSVhsv(252, 87%, 48%)
CMYKcmyk(69.7%, 86.9%, 0%, 52.2%)
CIE-LABlab(16.35, 40.91, -55.18)
CIE-LCHlch(16.35, 68.69, 306.55°)
OKLaboklab(29.75% 0.0258 -0.1593)
OKLCHoklch(29.75% 0.161 279.2)
XYZxyz(4.4600, 2.1687, 18.5921)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25107A #657A10
analogous
#10307A #25107A #5A107A
triadic
#25107A #7A2510 #107A25
tetradic
#25107A #7A1030 #657A10 #107A5A
square
#25107A #7A1030 #657A10 #107A5A
split-complementary
#25107A #7A5A10 #307A10
monochromatic
#08041B #150944 #25107A #3517B0 #4822E2

Accessibility & contrast

On white

14.65
#25107A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#25107A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25107A
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25107A#FFFFFF#000000##FFFFFF
##25107A1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C7D
Deuteranopia (green-blind)
#002478
Tritanopia (blue-blind)
#003247
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #25107a;
/* rgb */ color: rgb(37, 16, 122);
/* oklch */ color: oklch(29.7% 0.161 279.2);
Tailwind
colors: {
  custom: {
    50: '#6e53a2',
    500: '#25107a',
    950: '#000000',
  },
}
SCSS
$custom: #25107a;
$custom-light: #6e53a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25107a",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 122
  },
  "hsl": {
    "h": 251.887,
    "s": 76.812,
    "l": 27.059
  },
  "oklch": {
    "l": 0.29747,
    "c": 0.16141,
    "h": 279.2
  },
  "luminance": 0.02169
}

Semantic roles & 50–950 ramp

primary
#25107A
secondary
#98B135
accent
#F334CE
background
#F7F4FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #25107A

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

Preview Lab → · Contrast checker → · Palette generator →

#25107A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva