#25115B#25115B

#25115B is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.122 H 287.1°. Best body text is #FFFFFF at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#25115B
RGBrgb(37, 17, 91)
HSLhsl(256, 69%, 21%)
HSVhsv(256, 81%, 36%)
CMYKcmyk(59.3%, 81.3%, 0%, 64.3%)
CIE-LABlab(12.92, 30.71, -40.51)
CIE-LCHlch(12.92, 50.83, 307.16°)
OKLaboklab(26.3% 0.0358 -0.1166)
OKLCHoklch(26.3% 0.122 287.1)
XYZxyz(2.8512, 1.5494, 10.0443)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25115B #475B11
analogous
#11225B #25115B #4A115B
triadic
#25115B #5B2511 #115B25
tetradic
#25115B #5B1122 #475B11 #115B4A
square
#25115B #5B1122 #475B11 #115B4A
split-complementary
#25115B #5B4A11 #225B11
monochromatic
#0A051A #100727 #25115B #3A1B8F #4F24C2

Accessibility & contrast

On white

16.03
#25115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25115B
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25115B#FFFFFF#000000##FFFFFF
##25115B1.0016.031.3116.03
#FFFFFF16.031.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#0D2635
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #25115b;
/* rgb */ color: rgb(37, 17, 91);
/* oklch */ color: oklch(26.3% 0.122 287.1);
Tailwind
colors: {
  custom: {
    50: '#67528a',
    500: '#25115b',
    950: '#000000',
  },
}
SCSS
$custom: #25115b;
$custom-light: #67528a;
$custom-dark: #000000;
JSON
{
  "hex": "#25115b",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 256.216,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26304,
    "c": 0.12194,
    "h": 287.1
  },
  "luminance": 0.0155
}

Semantic roles & 50–950 ramp

primary
#25115B
secondary
#7A9434
accent
#EB3CBC
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25115B

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

Preview Lab → · Contrast checker → · Palette generator →

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