#25108D#25108D

#25108D is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.184 H 276.0°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#25108D
RGBrgb(37, 16, 141)
HSLhsl(250, 80%, 31%)
HSVhsv(250, 89%, 55%)
CMYKcmyk(73.8%, 88.7%, 0%, 44.7%)
CIE-LABlab(18.74, 46.58, -63.23)
CIE-LCHlch(18.74, 78.54, 306.38°)
OKLaboklab(32.07% 0.0192 -0.1827)
OKLCHoklch(32.07% 0.184 276)
XYZxyz(5.7544, 2.6864, 25.4094)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25108D #788D10
analogous
#10398D #25108D #63108D
triadic
#25108D #8D2510 #108D25
tetradic
#25108D #8D1039 #788D10 #108D63
square
#25108D #8D1039 #788D10 #108D63
split-complementary
#25108D #8D6310 #398D10
monochromatic
#08041F #170A56 #25108D #3316C4 #4F30E7

Accessibility & contrast

On white

13.66
#25108D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#25108D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25108D
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25108D#FFFFFF#000000##FFFFFF
##25108D1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00288B
Tritanopia (blue-blind)
#003A52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #25108d;
/* rgb */ color: rgb(37, 16, 141);
/* oklch */ color: oklch(32.1% 0.184 276.0);
Tailwind
colors: {
  custom: {
    50: '#7255b0',
    500: '#25108d',
    950: '#000000',
  },
}
SCSS
$custom: #25108d;
$custom-light: #7255b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25108d",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 141
  },
  "hsl": {
    "h": 250.08,
    "s": 79.618,
    "l": 30.784
  },
  "oklch": {
    "l": 0.32071,
    "c": 0.18368,
    "h": 276
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#25108D
secondary
#AAC237
accent
#F632D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #25108D

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

Preview Lab → · Contrast checker → · Palette generator →

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