#25106A#25106A

#25106A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.142 H 282.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#25106A
RGBrgb(37, 16, 106)
HSLhsl(254, 74%, 24%)
HSVhsv(254, 85%, 42%)
CMYKcmyk(65.1%, 84.9%, 0%, 58.4%)
CIE-LABlab(14.42, 35.98, -47.99)
CIE-LCHlch(14.42, 59.98, 306.86°)
OKLaboklab(27.86% 0.0315 -0.1384)
OKLCHoklch(27.86% 0.142 282.8)
XYZxyz(3.5490, 1.8043, 13.7941)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25106A #556A10
analogous
#10286A #25106A #52106A
triadic
#25106A #6A2510 #106A25
tetradic
#25106A #6A1028 #556A10 #106A52
square
#25106A #6A1028 #556A10 #106A52
split-complementary
#25106A #6A5210 #286A10
monochromatic
#09041B #120835 #25106A #38189F #4A20D4

Accessibility & contrast

On white

15.43
#25106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#25106A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25106A
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25106A#FFFFFF#000000##FFFFFF
##25106A1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276C
Deuteranopia (green-blind)
#002168
Tritanopia (blue-blind)
#002B3E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #25106a;
/* rgb */ color: rgb(37, 16, 106);
/* oklch */ color: oklch(27.9% 0.142 282.8);
Tailwind
colors: {
  custom: {
    50: '#6a5296',
    500: '#25106a',
    950: '#000000',
  },
}
SCSS
$custom: #25106a;
$custom-light: #6a5296;
$custom-dark: #000000;
JSON
{
  "hex": "#25106a",
  "rgb": {
    "r": 37,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 254,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27857,
    "c": 0.14196,
    "h": 282.8
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#25106A
secondary
#88A234
accent
#F037C5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020D
muted
#7A787E

Preview Lab

Preview with #25106A

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

Preview Lab → · Contrast checker → · Palette generator →

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