#25105E#25105E

#25105E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.127 H 286.3°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#25105E
RGBrgb(37, 16, 94)
HSLhsl(256, 71%, 22%)
HSVhsv(256, 83%, 37%)
CMYKcmyk(60.6%, 83%, 0%, 63.1%)
CIE-LABlab(13.06, 32.20, -42.29)
CIE-LCHlch(13.06, 53.16, 307.29°)
OKLaboklab(26.5% 0.0356 -0.1218)
OKLCHoklch(26.5% 0.127 286.3)
XYZxyz(2.9680, 1.5719, 10.7345)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25105E #495E10
analogous
#10225E #25105E #4C105E
triadic
#25105E #5E2510 #105E25
tetradic
#25105E #5E1022 #495E10 #105E4C
square
#25105E #5E1022 #495E10 #105E4C
split-complementary
#25105E #5E4C10 #225E10
monochromatic
#0A041A #10072A #25105E #3A1992 #4E22C7

Accessibility & contrast

On white

15.98
#25105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#25105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25105E
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25105E#FFFFFF#000000##FFFFFF
##25105E1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002460
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#092737
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #25105e;
/* rgb */ color: rgb(37, 16, 94);
/* oklch */ color: oklch(26.5% 0.127 286.3);
Tailwind
colors: {
  custom: {
    50: '#68518d',
    500: '#25105e',
    950: '#000000',
  },
}
SCSS
$custom: #25105e;
$custom-light: #68518d;
$custom-dark: #000000;
JSON
{
  "hex": "#25105e",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 256.154,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.265,
    "c": 0.12689,
    "h": 286.3
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#25105E
secondary
#7C9733
accent
#EE3ABD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #25105E

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

Preview Lab → · Contrast checker → · Palette generator →

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