#25104B#25104B

#25104B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.102 H 293.8°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#25104B
RGBrgb(37, 16, 75)
HSLhsl(261, 65%, 18%)
HSVhsv(261, 79%, 29%)
CMYKcmyk(50.7%, 78.7%, 0%, 70.6%)
CIE-LABlab(11.08, 26.17, -32.60)
CIE-LCHlch(11.08, 41.81, 308.75°)
OKLaboklab(24.5% 0.0411 -0.0934)
OKLCHoklch(24.5% 0.102 293.8)
XYZxyz(2.2179, 1.2718, 6.7839)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25104B #364B10
analogous
#10184B #25104B #42104B
triadic
#25104B #4B2510 #104B25
tetradic
#25104B #4B1018 #364B10 #104B42
square
#25104B #4B1018 #364B10 #104B42
split-complementary
#25104B #4B4210 #184B10
monochromatic
#0C0519 #0C0519 #25104B #3E1B7D #5726B0

Accessibility & contrast

On white

16.74
#25104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#25104B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25104B
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25104B#FFFFFF#000000##FFFFFF
##25104B1.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#1A1F2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #25104b;
/* rgb */ color: rgb(37, 16, 75);
/* oklch */ color: oklch(24.5% 0.102 293.8);
Tailwind
colors: {
  custom: {
    50: '#64507e',
    500: '#25104b',
    950: '#000000',
  },
}
SCSS
$custom: #25104b;
$custom-light: #64507e;
$custom-dark: #000000;
JSON
{
  "hex": "#25104b",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 261.356,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24502,
    "c": 0.10204,
    "h": 293.8
  },
  "luminance": 0.01272
}

Semantic roles & 50–950 ramp

primary
#25104B
secondary
#678532
accent
#E840AC
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25104B

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

Preview Lab → · Contrast checker → · Palette generator →

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