#25114C#25114C

#25114C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.102 H 292.9°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#25114C
RGBrgb(37, 17, 76)
HSLhsl(260, 63%, 18%)
HSVhsv(260, 78%, 30%)
CMYKcmyk(51.3%, 77.6%, 0%, 70.2%)
CIE-LABlab(11.39, 25.89, -32.79)
CIE-LCHlch(11.39, 41.78, 308.30°)
OKLaboklab(24.75% 0.0398 -0.094)
OKLCHoklch(24.75% 0.102 292.9)
XYZxyz(2.2675, 1.3159, 6.9706)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25114C #384C11
analogous
#111A4C #25114C #42114C
triadic
#25114C #4C2511 #114C25
tetradic
#25114C #4C111A #384C11 #114C42
square
#25114C #4C111A #384C11 #114C42
split-complementary
#25114C #4C4211 #1A4C11
monochromatic
#0C0619 #0D061A #25114C #3D1C7E #5627B0

Accessibility & contrast

On white

16.62
#25114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#25114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25114C
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25114C#FFFFFF#000000##FFFFFF
##25114C1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#19202D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #25114c;
/* rgb */ color: rgb(37, 17, 76);
/* oklch */ color: oklch(24.8% 0.102 292.9);
Tailwind
colors: {
  custom: {
    50: '#64517f',
    500: '#25114c',
    950: '#000000',
  },
}
SCSS
$custom: #25114c;
$custom-light: #64517f;
$custom-dark: #000000;
JSON
{
  "hex": "#25114c",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 260.339,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24752,
    "c": 0.10202,
    "h": 292.9
  },
  "luminance": 0.01316
}

Semantic roles & 50–950 ramp

primary
#25114C
secondary
#6A8533
accent
#E641AE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25114C

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

Preview Lab → · Contrast checker → · Palette generator →

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