#25105A#25105A

#25105A is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.122 H 287.7°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#25105A
RGBrgb(37, 16, 90)
HSLhsl(257, 70%, 21%)
HSVhsv(257, 82%, 35%)
CMYKcmyk(58.9%, 82.2%, 0%, 64.7%)
CIE-LABlab(12.62, 30.93, -40.33)
CIE-LCHlch(12.62, 50.82, 307.49°)
OKLaboklab(26.06% 0.0369 -0.116)
OKLCHoklch(26.06% 0.122 287.7)
XYZxyz(2.7932, 1.5019, 9.8136)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25105A #455A10
analogous
#10205A #25105A #4A105A
triadic
#25105A #5A2510 #105A25
tetradic
#25105A #5A1020 #455A10 #105A4A
square
#25105A #5A1020 #455A10 #105A4A
split-complementary
#25105A #5A4A10 #205A10
monochromatic
#0B051A #100726 #25105A #3A198E #5022C2

Accessibility & contrast

On white

16.15
#25105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#25105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25105A
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25105A#FFFFFF#000000##FFFFFF
##25105A1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001F59
Tritanopia (blue-blind)
#0E2534
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #25105a;
/* rgb */ color: rgb(37, 16, 90);
/* oklch */ color: oklch(26.1% 0.122 287.7);
Tailwind
colors: {
  custom: {
    50: '#675189',
    500: '#25105a',
    950: '#000000',
  },
}
SCSS
$custom: #25105a;
$custom-light: #675189;
$custom-dark: #000000;
JSON
{
  "hex": "#25105a",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 257.027,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.26062,
    "c": 0.12176,
    "h": 287.7
  },
  "luminance": 0.01502
}

Semantic roles & 50–950 ramp

primary
#25105A
secondary
#789333
accent
#ED3BBA
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25105A

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

Preview Lab → · Contrast checker → · Palette generator →

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