#25116D#25116D

#25116D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.145 H 281.9°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#25116D
RGBrgb(37, 17, 109)
HSLhsl(253, 73%, 25%)
HSVhsv(253, 84%, 43%)
CMYKcmyk(66.1%, 84.4%, 0%, 57.3%)
CIE-LABlab(14.94, 36.43, -49.10)
CIE-LCHlch(14.94, 61.14, 306.57°)
OKLaboklab(28.32% 0.0299 -0.1416)
OKLCHoklch(28.32% 0.145 281.9)
XYZxyz(3.7229, 1.8981, 14.6352)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25116D #596D11
analogous
#112B6D #25116D #53116D
triadic
#25116D #6D2511 #116D25
tetradic
#25116D #6D112B #596D11 #116D53
square
#25116D #6D112B #596D11 #116D53
split-complementary
#25116D #6D5311 #2B6D11
monochromatic
#09041A #130938 #25116D #3719A2 #4922D7

Accessibility & contrast

On white

15.22
#25116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25116D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25116D#FFFFFF#000000##FFFFFF
##25116D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002970
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25116d;
/* rgb */ color: rgb(37, 17, 109);
/* oklch */ color: oklch(28.3% 0.145 281.9);
Tailwind
colors: {
  custom: {
    50: '#6b5398',
    500: '#25116d',
    950: '#000000',
  },
}
SCSS
$custom: #25116d;
$custom-light: #6b5398;
$custom-dark: #000000;
JSON
{
  "hex": "#25116d",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 253.043,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.2832,
    "c": 0.14477,
    "h": 281.9
  },
  "luminance": 0.01898
}

Semantic roles & 50–950 ramp

primary
#25116D
secondary
#8CA535
accent
#F038C8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #25116D

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

Preview Lab → · Contrast checker → · Palette generator →

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