#25115C#25115C

#25115C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.123 H 286.7°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#25115C
RGBrgb(37, 17, 92)
HSLhsl(256, 69%, 21%)
HSVhsv(256, 82%, 36%)
CMYKcmyk(59.8%, 81.5%, 0%, 63.9%)
CIE-LABlab(13.03, 31.03, -41.00)
CIE-LCHlch(13.03, 51.42, 307.12°)
OKLaboklab(26.41% 0.0355 -0.118)
OKLCHoklch(26.41% 0.123 286.7)
XYZxyz(2.8946, 1.5668, 10.2730)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25115C #485C11
analogous
#11235C #25115C #4B115C
triadic
#25115C #5C2511 #115C25
tetradic
#25115C #5C1123 #485C11 #115C4B
square
#25115C #5C1123 #485C11 #115C4B
split-complementary
#25115C #5C4B11 #235C11
monochromatic
#0A051A #100728 #25115C #3A1B90 #4F24C3

Accessibility & contrast

On white

15.99
#25115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25115C
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25115C#FFFFFF#000000##FFFFFF
##25115C1.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001F5B
Tritanopia (blue-blind)
#0C2636
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #25115c;
/* rgb */ color: rgb(37, 17, 92);
/* oklch */ color: oklch(26.4% 0.123 286.7);
Tailwind
colors: {
  custom: {
    50: '#67528b',
    500: '#25115c',
    950: '#000000',
  },
}
SCSS
$custom: #25115c;
$custom-light: #67528b;
$custom-dark: #000000;
JSON
{
  "hex": "#25115c",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 256,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.26412,
    "c": 0.12323,
    "h": 286.7
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#25115C
secondary
#7B9534
accent
#EC3CBD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #25115C

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

Preview Lab → · Contrast checker → · Palette generator →

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