#25104D#25104D

#25104D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.105 H 292.8°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#25104D
RGBrgb(37, 16, 77)
HSLhsl(261, 66%, 18%)
HSVhsv(261, 79%, 30%)
CMYKcmyk(51.9%, 79.2%, 0%, 69.8%)
CIE-LABlab(11.27, 26.80, -33.67)
CIE-LCHlch(11.27, 43.03, 308.52°)
OKLaboklab(24.7% 0.0406 -0.0965)
OKLCHoklch(24.7% 0.105 292.8)
XYZxyz(2.2874, 1.2996, 7.1501)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25104D #384D10
analogous
#10194D #25104D #43104D
triadic
#25104D #4D2510 #104D25
tetradic
#25104D #4D1019 #384D10 #104D43
square
#25104D #4D1019 #384D10 #104D43
split-complementary
#25104D #4D4310 #194D10
monochromatic
#0C0519 #0D051A #25104D #3D1B80 #5625B2

Accessibility & contrast

On white

16.67
#25104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#25104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25104D
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25104D#FFFFFF#000000##FFFFFF
##25104D1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.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: #25104d;
/* rgb */ color: rgb(37, 16, 77);
/* oklch */ color: oklch(24.7% 0.105 292.8);
Tailwind
colors: {
  custom: {
    50: '#64507f',
    500: '#25104d',
    950: '#000000',
  },
}
SCSS
$custom: #25104d;
$custom-light: #64507f;
$custom-dark: #000000;
JSON
{
  "hex": "#25104d",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 260.656,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24701,
    "c": 0.10471,
    "h": 292.8
  },
  "luminance": 0.013
}

Semantic roles & 50–950 ramp

primary
#25104D
secondary
#6A8732
accent
#E93FAE
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25104D

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

Preview Lab → · Contrast checker → · Palette generator →

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