#25115A#25115A

#25115A is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.121 H 287.4°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#25115A
RGBrgb(37, 17, 90)
HSLhsl(256, 68%, 21%)
HSVhsv(256, 81%, 35%)
CMYKcmyk(58.9%, 81.1%, 0%, 64.7%)
CIE-LABlab(12.81, 30.39, -40.01)
CIE-LCHlch(12.81, 50.24, 307.21°)
OKLaboklab(26.2% 0.0361 -0.1151)
OKLCHoklch(26.2% 0.121 287.4)
XYZxyz(2.8083, 1.5323, 9.8187)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25115A #465A11
analogous
#11215A #25115A #49115A
triadic
#25115A #5A2511 #115A25
tetradic
#25115A #5A1121 #465A11 #115A49
square
#25115A #5A1121 #465A11 #115A49
split-complementary
#25115A #5A4911 #215A11
monochromatic
#0B051A #100727 #25115A #3A1B8D #4F24C1

Accessibility & contrast

On white

16.07
#25115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#25115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25115A
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25115A#FFFFFF#000000##FFFFFF
##25115A1.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25115a;
/* rgb */ color: rgb(37, 17, 90);
/* oklch */ color: oklch(26.2% 0.121 287.4);
Tailwind
colors: {
  custom: {
    50: '#675189',
    500: '#25115a',
    950: '#000000',
  },
}
SCSS
$custom: #25115a;
$custom-light: #675189;
$custom-dark: #000000;
JSON
{
  "hex": "#25115a",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 256.438,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26196,
    "c": 0.12064,
    "h": 287.4
  },
  "luminance": 0.01532
}

Semantic roles & 50–950 ramp

primary
#25115A
secondary
#799334
accent
#EB3DBB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25115A

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

Preview Lab → · Contrast checker → · Palette generator →

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