#25104A#25104A

#25104A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.101 H 294.2°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#25104A
RGBrgb(37, 16, 74)
HSLhsl(262, 64%, 18%)
HSVhsv(262, 78%, 29%)
CMYKcmyk(50%, 78.4%, 0%, 71%)
CIE-LABlab(10.98, 25.85, -32.07)
CIE-LCHlch(10.98, 41.19, 308.88°)
OKLaboklab(24.4% 0.0413 -0.0918)
OKLCHoklch(24.4% 0.101 294.2)
XYZxyz(2.1839, 1.2582, 6.6050)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25104A #354A10
analogous
#10184A #25104A #42104A
triadic
#25104A #4A2510 #104A25
tetradic
#25104A #4A1018 #354A10 #104A42
square
#25104A #4A1018 #354A10 #104A42
split-complementary
#25104A #4A4210 #184A10
monochromatic
#0D0519 #0D0519 #25104A #3E1B7C #5726AF

Accessibility & contrast

On white

16.78
#25104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25104A
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25104A#FFFFFF#000000##FFFFFF
##25104A1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#1A1F2B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #25104a;
/* rgb */ color: rgb(37, 16, 74);
/* oklch */ color: oklch(24.4% 0.101 294.2);
Tailwind
colors: {
  custom: {
    50: '#64507d',
    500: '#25104a',
    950: '#000000',
  },
}
SCSS
$custom: #25104a;
$custom-light: #64507d;
$custom-dark: #000000;
JSON
{
  "hex": "#25104a",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 261.724,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.24403,
    "c": 0.1007,
    "h": 294.2
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#25104A
secondary
#668432
accent
#E740AB
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25104A

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

Preview Lab → · Contrast checker → · Palette generator →

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