#25104E#25104E

#25104E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.106 H 292.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#25104E
RGBrgb(37, 16, 78)
HSLhsl(260, 66%, 18%)
HSVhsv(260, 79%, 31%)
CMYKcmyk(52.6%, 79.5%, 0%, 69.4%)
CIE-LABlab(11.37, 27.12, -34.19)
CIE-LCHlch(11.37, 43.64, 308.42°)
OKLaboklab(24.8% 0.0404 -0.0981)
OKLCHoklch(24.8% 0.106 292.4)
XYZxyz(2.3230, 1.3139, 7.3375)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25104E #394E10
analogous
#101A4E #25104E #44104E
triadic
#25104E #4E2510 #104E25
tetradic
#25104E #4E101A #394E10 #104E44
square
#25104E #4E101A #394E10 #104E44
split-complementary
#25104E #4E4410 #1A4E10
monochromatic
#0C0519 #0D061B #25104E #3D1A81 #5525B4

Accessibility & contrast

On white

16.63
#25104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25104E
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25104E#FFFFFF#000000##FFFFFF
##25104E1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#18202E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #25104e;
/* rgb */ color: rgb(37, 16, 78);
/* oklch */ color: oklch(24.8% 0.106 292.4);
Tailwind
colors: {
  custom: {
    50: '#655080',
    500: '#25104e',
    950: '#000000',
  },
}
SCSS
$custom: #25104e;
$custom-light: #655080;
$custom-dark: #000000;
JSON
{
  "hex": "#25104e",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 260.323,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24802,
    "c": 0.10604,
    "h": 292.4
  },
  "luminance": 0.01314
}

Semantic roles & 50–950 ramp

primary
#25104E
secondary
#6B8832
accent
#E93FAF
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25104E

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

Preview Lab → · Contrast checker → · Palette generator →

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