#25094A#25094A

#25094A is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.109 H 296.2°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#25094A
RGBrgb(37, 9, 74)
HSLhsl(266, 78%, 16%)
HSVhsv(266, 88%, 29%)
CMYKcmyk(50%, 87.8%, 0%, 71%)
CIE-LABlab(9.67, 29.59, -34.22)
CIE-LCHlch(9.67, 45.24, 310.85°)
OKLaboklab(23.48% 0.0484 -0.0981)
OKLCHoklch(23.48% 0.109 296.2)
XYZxyz(2.0963, 1.0831, 6.5758)
Luminance0.0108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25094A #2E4A09
analogous
#090E4A #25094A #46094A
triadic
#25094A #4A2509 #094A25
tetradic
#25094A #4A090E #2E4A09 #094A46
square
#25094A #4A090E #2E4A09 #094A46
split-complementary
#25094A #4A4609 #0E4A09
monochromatic
#0E031B #0E031B #25094A #401081 #5C16B7

Accessibility & contrast

On white

17.26
#25094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#25094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25094A
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25094A#FFFFFF#000000##FFFFFF
##25094A1.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4C
Deuteranopia (green-blind)
#001A49
Tritanopia (blue-blind)
#1B1B2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #25094a;
/* rgb */ color: rgb(37, 9, 74);
/* oklch */ color: oklch(23.5% 0.109 296.2);
Tailwind
colors: {
  custom: {
    50: '#654c7d',
    500: '#25094a',
    950: '#000000',
  },
}
SCSS
$custom: #25094a;
$custom-light: #654c7d;
$custom-dark: #000000;
JSON
{
  "hex": "#25094a",
  "rgb": {
    "r": 37,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 265.846,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.23478,
    "c": 0.10935,
    "h": 296.2
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#25094A
secondary
#5E8727
accent
#F533A1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06010A
muted
#7A777C

Preview Lab

Preview with #25094A

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

Preview Lab → · Contrast checker → · Palette generator →

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