#25116F#25116F

#25116F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.6% C 0.147 H 281.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#25116F
RGBrgb(37, 17, 111)
HSLhsl(253, 73%, 25%)
HSVhsv(253, 85%, 44%)
CMYKcmyk(66.7%, 84.7%, 0%, 56.5%)
CIE-LABlab(15.18, 37.06, -50.02)
CIE-LCHlch(15.18, 62.25, 306.53°)
OKLaboklab(28.55% 0.0292 -0.1443)
OKLCHoklch(28.55% 0.147 281.4)
XYZxyz(3.8317, 1.9416, 15.2087)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25116F #5B6F11
analogous
#112C6F #25116F #54116F
triadic
#25116F #6F2511 #116F25
tetradic
#25116F #6F112C #5B6F11 #116F54
square
#25116F #6F112C #5B6F11 #116F54
split-complementary
#25116F #6F5411 #2C6F11
monochromatic
#09041B #13093A #25116F #3719A4 #4821D9

Accessibility & contrast

On white

15.13
#25116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#25116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25116F
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25116F#FFFFFF#000000##FFFFFF
##25116F1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25116f;
/* rgb */ color: rgb(37, 17, 111);
/* oklch */ color: oklch(28.6% 0.147 281.4);
Tailwind
colors: {
  custom: {
    50: '#6b5399',
    500: '#25116f',
    950: '#000000',
  },
}
SCSS
$custom: #25116f;
$custom-light: #6b5399;
$custom-dark: #000000;
JSON
{
  "hex": "#25116f",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 252.766,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28552,
    "c": 0.14725,
    "h": 281.4
  },
  "luminance": 0.01942
}

Semantic roles & 50–950 ramp

primary
#25116F
secondary
#8EA635
accent
#F038C9
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #25116F

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

Preview Lab → · Contrast checker → · Palette generator →

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