#25106F#25106F

#25106F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.148 H 281.6°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#25106F
RGBrgb(37, 16, 111)
HSLhsl(253, 75%, 25%)
HSVhsv(253, 86%, 44%)
CMYKcmyk(66.7%, 85.6%, 0%, 56.5%)
CIE-LABlab(15.01, 37.53, -50.29)
CIE-LCHlch(15.01, 62.75, 306.74°)
OKLaboklab(28.44% 0.0298 -0.1451)
OKLCHoklch(28.44% 0.148 281.6)
XYZxyz(3.8166, 1.9113, 15.2036)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25106F #5A6F10
analogous
#102B6F #25106F #54106F
triadic
#25106F #6F2510 #106F25
tetradic
#25106F #6F102B #5A6F10 #106F54
square
#25106F #6F102B #5A6F10 #106F54
split-complementary
#25106F #6F5410 #2B6F10
monochromatic
#09041B #13083A #25106F #3718A4 #491FDA

Accessibility & contrast

On white

15.19
#25106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#25106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25106F
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25106F#FFFFFF#000000##FFFFFF
##25106F1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #25106f;
/* rgb */ color: rgb(37, 16, 111);
/* oklch */ color: oklch(28.4% 0.148 281.6);
Tailwind
colors: {
  custom: {
    50: '#6b5299',
    500: '#25106f',
    950: '#000000',
  },
}
SCSS
$custom: #25106f;
$custom-light: #6b5299;
$custom-dark: #000000;
JSON
{
  "hex": "#25106f",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 253.263,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28439,
    "c": 0.14811,
    "h": 281.6
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#25106F
secondary
#8DA734
accent
#F136C8
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#08020E
muted
#7A787E

Preview Lab

Preview with #25106F

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

Preview Lab → · Contrast checker → · Palette generator →

#25106F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva