#25114D#25114D

#25114D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.103 H 292.5°. Best body text is #FFFFFF at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#25114D
RGBrgb(37, 17, 77)
HSLhsl(260, 64%, 18%)
HSVhsv(260, 78%, 30%)
CMYKcmyk(51.9%, 77.9%, 0%, 69.8%)
CIE-LABlab(11.48, 26.21, -33.32)
CIE-LCHlch(11.48, 42.40, 308.19°)
OKLaboklab(24.85% 0.0396 -0.0955)
OKLCHoklch(24.85% 0.103 292.5)
XYZxyz(2.3026, 1.3300, 7.1551)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25114D #394D11
analogous
#111B4D #25114D #43114D
triadic
#25114D #4D2511 #114D25
tetradic
#25114D #4D111B #394D11 #114D43
square
#25114D #4D111B #394D11 #114D43
split-complementary
#25114D #4D4311 #1B4D11
monochromatic
#0C0619 #0D061B #25114D #3D1C7F #5527B1

Accessibility & contrast

On white

16.59
#25114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#25114D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25114D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25114D#FFFFFF#000000##FFFFFF
##25114D1.0016.591.2716.59
#FFFFFF16.591.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25114d;
/* rgb */ color: rgb(37, 17, 77);
/* oklch */ color: oklch(24.9% 0.103 292.5);
Tailwind
colors: {
  custom: {
    50: '#64517f',
    500: '#25114d',
    950: '#000000',
  },
}
SCSS
$custom: #25114d;
$custom-light: #64517f;
$custom-dark: #000000;
JSON
{
  "hex": "#25114d",
  "rgb": {
    "r": 37,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 260,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24851,
    "c": 0.10337,
    "h": 292.5
  },
  "luminance": 0.0133
}

Semantic roles & 50–950 ramp

primary
#25114D
secondary
#6B8633
accent
#E741B0
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25114D

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

Preview Lab → · Contrast checker → · Palette generator →

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