#25116C#25116C

#25116C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.144 H 282.2°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#25116C
RGBrgb(37, 17, 108)
HSLhsl(253, 73%, 25%)
HSVhsv(253, 84%, 42%)
CMYKcmyk(65.7%, 84.3%, 0%, 57.6%)
CIE-LABlab(14.83, 36.11, -48.64)
CIE-LCHlch(14.83, 60.58, 306.59°)
OKLaboklab(28.2% 0.0302 -0.1403)
OKLCHoklch(28.2% 0.144 282.2)
XYZxyz(3.6693, 1.8767, 14.3533)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25116C #586C11
analogous
#112B6C #25116C #53116C
triadic
#25116C #6C2511 #116C25
tetradic
#25116C #6C112B #586C11 #116C53
square
#25116C #6C112B #586C11 #116C53
split-complementary
#25116C #6C5311 #2B6C11
monochromatic
#09041A #130937 #25116C #3719A1 #4922D6

Accessibility & contrast

On white

15.27
#25116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#25116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25116C
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25116C#FFFFFF#000000##FFFFFF
##25116C1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00226A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #25116c;
/* rgb */ color: rgb(37, 17, 108);
/* oklch */ color: oklch(28.2% 0.144 282.2);
Tailwind
colors: {
  custom: {
    50: '#6b5397',
    500: '#25116c',
    950: '#000000',
  },
}
SCSS
$custom: #25116c;
$custom-light: #6b5397;
$custom-dark: #000000;
JSON
{
  "hex": "#25116c",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 253.187,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28204,
    "c": 0.14353,
    "h": 282.2
  },
  "luminance": 0.01877
}

Semantic roles & 50–950 ramp

primary
#25116C
secondary
#8BA435
accent
#EF38C7
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #25116C

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

Preview Lab → · Contrast checker → · Palette generator →

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