#25115D#25115D

#25115D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.125 H 286.4°. Best body text is #FFFFFF at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#25115D
RGBrgb(37, 17, 93)
HSLhsl(256, 69%, 22%)
HSVhsv(256, 82%, 36%)
CMYKcmyk(60.2%, 81.7%, 0%, 63.5%)
CIE-LABlab(13.13, 31.35, -41.50)
CIE-LCHlch(13.13, 52.01, 307.07°)
OKLaboklab(26.52% 0.0352 -0.1195)
OKLCHoklch(26.52% 0.125 286.4)
XYZxyz(2.9386, 1.5844, 10.5048)
Luminance0.0158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25115D #495D11
analogous
#11235D #25115D #4B115D
triadic
#25115D #5D2511 #115D25
tetradic
#25115D #5D1123 #495D11 #115D4B
square
#25115D #5D1123 #495D11 #115D4B
split-complementary
#25115D #5D4B11 #235D11
monochromatic
#0A051A #100829 #25115D #3A1A91 #4E24C4

Accessibility & contrast

On white

15.95
#25115D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25115D
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25115D#FFFFFF#000000##FFFFFF
##25115D1.0015.951.3215.95
#FFFFFF15.951.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#0B2736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #25115d;
/* rgb */ color: rgb(37, 17, 93);
/* oklch */ color: oklch(26.5% 0.125 286.4);
Tailwind
colors: {
  custom: {
    50: '#67528c',
    500: '#25115d',
    950: '#000000',
  },
}
SCSS
$custom: #25115d;
$custom-light: #67528c;
$custom-dark: #000000;
JSON
{
  "hex": "#25115d",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 93
  },
  "hsl": {
    "h": 255.789,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26521,
    "c": 0.12453,
    "h": 286.4
  },
  "luminance": 0.01585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25115D

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

Preview Lab → · Contrast checker → · Palette generator →

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