#25115E#25115E

#25115E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.126 H 286.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#25115E
RGBrgb(37, 17, 94)
HSLhsl(256, 69%, 22%)
HSVhsv(256, 82%, 37%)
CMYKcmyk(60.6%, 81.9%, 0%, 63.1%)
CIE-LABlab(13.24, 31.67, -41.99)
CIE-LCHlch(13.24, 52.59, 307.03°)
OKLaboklab(26.63% 0.0349 -0.1209)
OKLCHoklch(26.63% 0.126 286.1)
XYZxyz(2.9832, 1.6022, 10.7396)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25115E #4A5E11
analogous
#11245E #25115E #4C115E
triadic
#25115E #5E2511 #115E25
tetradic
#25115E #5E1124 #4A5E11 #115E4C
square
#25115E #5E1124 #4A5E11 #115E4C
split-complementary
#25115E #5E4C11 #245E11
monochromatic
#0A051A #11082A #25115E #391A92 #4E24C6

Accessibility & contrast

On white

15.90
#25115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#25115E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25115E
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25115E#FFFFFF#000000##FFFFFF
##25115E1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#092737
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #25115e;
/* rgb */ color: rgb(37, 17, 94);
/* oklch */ color: oklch(26.6% 0.126 286.1);
Tailwind
colors: {
  custom: {
    50: '#68528d',
    500: '#25115e',
    950: '#000000',
  },
}
SCSS
$custom: #25115e;
$custom-light: #68528d;
$custom-dark: #000000;
JSON
{
  "hex": "#25115e",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 255.584,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.2663,
    "c": 0.12582,
    "h": 286.1
  },
  "luminance": 0.01602
}

Semantic roles & 50–950 ramp

primary
#25115E
secondary
#7D9734
accent
#EC3CBE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #25115E

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

Preview Lab → · Contrast checker → · Palette generator →

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