#25104C#25104C

#25104C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.103 H 293.3°. Best body text is #FFFFFF at 16.70:1 contrast (WCAG AA passes).

Color values

HEX#25104C
RGBrgb(37, 16, 76)
HSLhsl(261, 65%, 18%)
HSVhsv(261, 79%, 30%)
CMYKcmyk(51.3%, 78.9%, 0%, 70.2%)
CIE-LABlab(11.17, 26.49, -33.14)
CIE-LCHlch(11.17, 42.42, 308.64°)
OKLaboklab(24.6% 0.0409 -0.095)
OKLCHoklch(24.6% 0.103 293.3)
XYZxyz(2.2524, 1.2856, 6.9656)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25104C #374C10
analogous
#10194C #25104C #43104C
triadic
#25104C #4C2510 #104C25
tetradic
#25104C #4C1019 #374C10 #104C43
square
#25104C #4C1019 #374C10 #104C43
split-complementary
#25104C #4C4310 #194C10
monochromatic
#0C0519 #0C0519 #25104C #3E1B7F #5625B1

Accessibility & contrast

On white

16.70
#25104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25104C
16.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25104C#FFFFFF#000000##FFFFFF
##25104C1.0016.701.2616.70
#FFFFFF16.701.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#191F2C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #25104c;
/* rgb */ color: rgb(37, 16, 76);
/* oklch */ color: oklch(24.6% 0.103 293.3);
Tailwind
colors: {
  custom: {
    50: '#64507f',
    500: '#25104c',
    950: '#000000',
  },
}
SCSS
$custom: #25104c;
$custom-light: #64507f;
$custom-dark: #000000;
JSON
{
  "hex": "#25104c",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 261,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.24601,
    "c": 0.10338,
    "h": 293.3
  },
  "luminance": 0.01286
}

Semantic roles & 50–950 ramp

primary
#25104C
secondary
#688632
accent
#E840AD
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #25104C

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

Preview Lab → · Contrast checker → · Palette generator →

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