#25105B#25105B

#25105B is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.2% C 0.123 H 287.3°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#25105B
RGBrgb(37, 16, 91)
HSLhsl(257, 70%, 21%)
HSVhsv(257, 82%, 36%)
CMYKcmyk(59.3%, 82.4%, 0%, 64.3%)
CIE-LABlab(12.73, 31.25, -40.82)
CIE-LCHlch(12.73, 51.41, 307.44°)
OKLaboklab(26.17% 0.0366 -0.1175)
OKLCHoklch(26.17% 0.123 287.3)
XYZxyz(2.8360, 1.5191, 10.0393)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25105B #465B10
analogous
#10205B #25105B #4A105B
triadic
#25105B #5B2510 #105B25
tetradic
#25105B #5B1020 #465B10 #105B4A
square
#25105B #5B1020 #465B10 #105B4A
split-complementary
#25105B #5B4A10 #205B10
monochromatic
#0B051A #100727 #25105B #3A198F #4F22C3

Accessibility & contrast

On white

16.11
#25105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#25105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25105B
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25105B#FFFFFF#000000##FFFFFF
##25105B1.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235D
Deuteranopia (green-blind)
#001F5A
Tritanopia (blue-blind)
#0D2535
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #25105b;
/* rgb */ color: rgb(37, 16, 91);
/* oklch */ color: oklch(26.2% 0.123 287.3);
Tailwind
colors: {
  custom: {
    50: '#67518a',
    500: '#25105b',
    950: '#000000',
  },
}
SCSS
$custom: #25105b;
$custom-light: #67518a;
$custom-dark: #000000;
JSON
{
  "hex": "#25105b",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 256.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.26171,
    "c": 0.12305,
    "h": 287.3
  },
  "luminance": 0.01519
}

Semantic roles & 50–950 ramp

primary
#25105B
secondary
#799433
accent
#ED3BBB
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #25105B

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

Preview Lab → · Contrast checker → · Palette generator →

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