#25105D#25105D

#25105D is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.126 H 286.6°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#25105D
RGBrgb(37, 16, 93)
HSLhsl(256, 71%, 21%)
HSVhsv(256, 83%, 36%)
CMYKcmyk(60.2%, 82.8%, 0%, 63.5%)
CIE-LABlab(12.95, 31.89, -41.80)
CIE-LCHlch(12.95, 52.58, 307.33°)
OKLaboklab(26.39% 0.036 -0.1203)
OKLCHoklch(26.39% 0.126 286.6)
XYZxyz(2.9234, 1.5540, 10.4997)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25105D #485D10
analogous
#10225D #25105D #4C105D
triadic
#25105D #5D2510 #105D25
tetradic
#25105D #5D1022 #485D10 #105D4C
square
#25105D #5D1022 #485D10 #105D4C
split-complementary
#25105D #5D4C10 #225D10
monochromatic
#0A041A #100729 #25105D #3A1991 #4F22C5

Accessibility & contrast

On white

16.02
#25105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25105D
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25105D#FFFFFF#000000##FFFFFF
##25105D1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235F
Deuteranopia (green-blind)
#001F5C
Tritanopia (blue-blind)
#0B2636
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #25105d;
/* rgb */ color: rgb(37, 16, 93);
/* oklch */ color: oklch(26.4% 0.126 286.6);
Tailwind
colors: {
  custom: {
    50: '#67518c',
    500: '#25105d',
    950: '#000000',
  },
}
SCSS
$custom: #25105d;
$custom-light: #67518c;
$custom-dark: #000000;
JSON
{
  "hex": "#25105d",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 256.364,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.2639,
    "c": 0.12561,
    "h": 286.6
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#25105D
secondary
#7B9633
accent
#ED3ABD
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #25105D

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

Preview Lab → · Contrast checker → · Palette generator →

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